summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Modernize codeworkflow_test_initial_1_2Federico Caselli2021-10-231-99/+1
| | | | | | | | | | | - remove python 2 support - add github workflows - remove disable unicode - cleanup compat file - modernize setup - use pep517 Change-Id: Ic38dbf478046cec5d0815b468f0c235b4ea5e20c
* Update setup.pymasterAnurag Kumar2021-09-031-0/+1
|
* Update setup.pyAnurag Kumar2021-09-021-0/+1
|
* Include supported Python versions classifiers in setupÁlvaro Mondéjar2020-09-031-0/+3
|
* Specify extras for gettext message extractorssinoroc2019-08-261-2/+10
| | | | | | | | | | | | | | | Added "babel" and "lingua" dependency entries to the setuptools entrypoints for the babel and lingua extensions, so that pkg_resources can check that these extra dependencies are available, raising an informative exception if not. Pull request courtesy sinoroc. Fixes: #304 Closes: #305 Pull-request: https://github.com/sqlalchemy/mako/pull/305 Pull-request-sha: 9a1c9a2242a41b553af2524381ab69c2e404a778 Change-Id: I973081a17ed27bf2f954d73133b0d52855bcacff
* - fix casingMike Bayer2019-08-011-1/+1
| | | | Change-Id: I06f074cc05091a7e814a258fafa47e6236b86051
* remove python setup.py testMike Bayer2019-07-311-19/+12
| | | | | | | | | | | | | | | | | Removed the "python setup.py test" feature in favor of a straight run of "tox". Per Pypa / pytest developers, "setup.py" commands are in general headed towards deprecation in favor of tox. The tox.ini script has been updated such that running "tox" with no arguments will perform a single run of the test suite against the default installed Python interpreter. .. seealso:: https://github.com/pypa/setuptools/issues/1684 https://github.com/pytest-dev/pytest/issues/5534 Fixes: #303 Change-Id: I345fd46f8911a71c039adf2d51937175142db793
* Bump Python versions, remove conditional importsMike Bayer2019-07-271-20/+5
| | | | | | | | | | | | | | | | | | | | | | Mako 1.1 now supports Python versions: * 2.7 * 3.4 and higher This includes that setup.py no longer includes any conditionals, allowing for a pure Python wheel build, however this is not necessarily part of the Pypi release process as of yet. The test suite also raises for Python deprecation warnings. Fixes: #249 Replaced usage of ``inspect.getfullargspec()`` with the vendored version used by SQLAlchemy, Alembic to avoid future deprecation warnings. Also cleans up an additional version of the same function that's apparently been floating around for some time. Fixes: #295 Change-Id: I98274c16b6022289d1890f4daf532bab323ab112
* - add links for documentation / githubMike Bayer2019-05-311-0/+4
| | | | Change-Id: I3650915ea2e45c48f0823b08084eecb46ee17a14
* Use tox / zimportsMike Bayer2019-05-311-38/+46
| | | | Change-Id: Ia047c7052a6d242c2cf1c7a83981f1e38ea4d928
* - add OSI classifier for licenseMike Bayer2019-05-281-0/+1
| | | | Change-Id: Ic7b1dadd186ec007e9e0116bb196f9c5ac85aaa4
* save a redirect, use httpsSteve Piercy2019-03-201-1/+1
|
* Remove redundant Python<2.6 codeHugo2018-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | Includes PR https://github.com/zzzeek/mako/pull/26 so [Travis CI passes](https://travis-ci.org/hugovk/mako/builds/329346809). The last two commits are unique to this PR. --- Since Mako 1.0.0, Python 2.6 has been the minimum supported version: > [general] Compatibility changes; in order to modernize the codebase, Mako is now dropping support for Python 2.4 and Python 2.5 altogether. The source base is now targeted at Python 2.6 and forwards. http://docs.makotemplates.org/en/latest/changelog.html#change-b602a175c0ec26eaa4f42962d23cca96 This removes redundant code only relevant to Python 2.5 or earlier. It also adds `python_requires` to setup.py, so pip won't install this version on Python 2.5 or earlier. For people with older versions, pip will install the next Mako version down. Are all Python 3.x versions supported? If not, I'll add those to `python_requires` as well. Change-Id: I624e1d56e79555c579278c7a5b4de9498179ffe9 Pull-request: https://github.com/zzzeek/mako/pull/27
* - use py.test as default test runnerMike Bayer2016-03-101-4/+25
| | | | | - upgrade tox file to use py35, coverage, etc. - add flake8 rules
* - leaving optional libs not as default test dependencies, e.g.Mike Bayer2015-01-221-9/+9
| | | | beaker, lingua, babel
* Use new lingua extractor APIWichert Akkerman2014-08-261-1/+1
| | | | This gives a saner way to call into lingua's Python extractor.
* Require lingua for tests.Wichert Akkerman2014-08-261-1/+1
|
* Add lingua pluginWichert Akkerman2014-08-251-0/+3
|
* Add tests for Babel pluginWichert Akkerman2014-08-251-1/+1
|
* Merge branch 'w_json_metadata'Mike Bayer2014-04-281-3/+3
|\
| * - Template modules now generate a JSON "metadata" structure at the bottomMike Bayer2014-03-141-3/+10
| | | | | | | | | | | | | | | | | | of the source file which includes parseable information about the templates' source file, encoding etc. as well as a mapping of module source lines to template lines, thus replacing the "# SOURCE LINE" markers throughout the source code. The structure also indicates those lines that are explicitly not part of the template's source; the goal here is to allow integration with coverage tools.
* | - will now be 1.0Mike Bayer2014-04-281-1/+4
| | | | | | | | | | - drop python 2.4, 2.5 support - various pep8ing
* | - switch to argparse for cmdline template runnerMike Bayer2014-04-281-1/+6
| | | | | | | | | | | | | | - write a test suite for cmdline - start using context manager helpers in tests. intrinsic here is that we're going to go 1.0 and drop at least 2.4 and probably 2.5 - update .gitignore
* | Convert mako-render into module mako.cmd and add suitable entrypoint to setupDerek Harland2014-04-161-1/+3
|/
* - [bug] Changed setup.py to skip installing markupsaferel_0_8_1Mike Bayer2013-05-241-6/+13
| | | | | | if Python version is < 2.6 or is between 3.0 and less than 3.3, as Markupsafe now only supports 2.6->2.X, 3.3->3.X. [ticket:216]
* - guess you need compat.py huhMike Bayer2012-11-111-9/+2
| | | | | - dont need 2to3 - clean up some list() calls we dont need
* - fix the readme in setup.py and fix weird keywordsMike Bayer2012-03-301-2/+2
|
* modernize the READMEMike Bayer2011-12-141-11/+3
|
* add classifiersMike Bayer2011-12-031-0/+2
|
* - now that trailing whitespace comes up in red, need to get rid of itMike Bayer2011-01-191-1/+1
|
* - Beaker is now part of "extras" inMike Bayer2010-11-121-1/+1
| | | | | | | | setup.py instead of "install_requires". This to produce a lighter weight install for those who don't use the caching as well as to conform to Pyramid deployment practices. [ticket:154]
* - Fixed missing **extra collection inMike Bayer2010-11-121-0/+1
| | | | | | setup.py which prevented setup.py from running 2to3 on install. [ticket:148]
* - Now using MarkupSafe for HTML escaping,Mike Bayer2010-06-221-0/+1
| | | | | | | | | | | | | | | | i.e. in place of cgi.escape(). Faster C-based implementation and also escapes single quotes for additional security. Supports the __html__ attribute for the given expression as well. When using "disable_unicode" mode, a pure Python HTML escaper function is used which also quotes single quotes. Note that Pylons by default doesn't use Mako's filter - check your environment.py file.
* yikes, no more svn version here...Mike Bayer2010-04-201-3/+0
|
* OK guess you really need the * nowrel_0_3_1Mike Bayer2010-03-071-1/+1
|
* - Fixed incorrect dir name in setup.pyMike Bayer2010-03-071-1/+1
| | | | [ticket:129]
* tweaksrel_0_3_0Mike Bayer2010-03-051-1/+1
|
* README cleanup, fix a new test for py3kMike Bayer2010-03-051-0/+2
|
* - merged -r481:499 of py3k branch.Mike Bayer2010-03-041-1/+9
| | | | | | - Python 3 support is added ! See README.py3k for installation and testing notes. [ticket:119]
* - ensure lru threading test doesn't runMike Bayer2010-03-021-1/+1
| | | | | | | | | | | - Source code escaping has been simplified. In particular, module source files are now generated with the Python "magic encoding comment", and source code is passed through mostly unescaped, except for that code which is regenerated from parsed Python source. This fixes usage of unicode in <%namespace:defname> tags. [ticket:99]
* move lib/mako to makoMike Bayer2010-02-051-3/+2
|
* - added "mako.__version__" attribute toMike Bayer2009-06-281-2/+6
| | | | the base module. [ticket:110]
* - Added last_modified accessor to Template,Mike Bayer2009-01-131-1/+1
| | | | | returns the time.time() when the module was created. [ticket:97]
* bump to 0.2.4devPhilip Jenvey2008-11-251-1/+1
|
* beaker 1.1rel_0_2_3Mike Bayer2008-11-231-1/+1
|
* - beaker bumpMike Bayer2008-10-251-1/+1
| | | | | | | | - added "cache_enabled=True" flag to Template, TemplateLookup. Setting this to False causes cache operations to "pass through" and execute every time; this flag should be integrated in Pylons with its own cache_enabled configuration setting.
* Beaker 1.0.4 isn't out yet, require dev for nowPhilip Jenvey2008-10-181-1/+1
|
* - caching now uses beaker.cache_manager directly. For best resultsMike Bayer2008-10-171-1/+1
| | | | | | use Beaker 1.0.4, just checked in. This version of Beaker stores no persistent state in memory for each key, allowing dynamically generated keys to work without using up available memory.
* bump to 0.2.3devPhilip Jenvey2008-10-021-1/+1
|
* - fixed cache code to work with Beaker 1.0.1, which is now the required ↵Mike Bayer2008-09-071-1/+1
| | | | | | | | | | | | version of Beaker. - removed unnecessary attributes from DefTemplate. - added ModuleTemplate class, which allows the construction of a Template given a Python module generated by a previous Template. This allows Python modules alone to be used as templates with no compilation step. Source code and template source are optional but allow error reporting to work correctly.