summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year (fixes #1514.)Matthäus G. Chajdas2020-08-221-1/+1
|
* Remove Python 2 compatibility (#1348)Georg Brandl2020-02-291-3/+1
| | | | | | | | | | | * Remove Python 2 compatibility * remove 2/3 shims in pygments.util * update setup.py metadata * Remove unneeded object inheritance. * Remove unneeded future imports.
* Update many links to use HTTPS and skip redirectsKurt McKee2019-12-181-1/+1
|
* update claim about number of lexersGeorg Brandl2019-11-301-1/+1
|
* Use wildcards to include the pygments module.Matthäus G. Chajdas2019-11-291-1/+1
| | | | This should fix PR#1316 properly.
* keep version number in one place, dont do the "x.y.z+" anymoreGeorg Brandl2019-11-291-1/+3
|
* update changelog, bump version to 2.5.2Georg Brandl2019-11-291-1/+1
|
* Ensure `setup.py` works againPaolo G. Giarrusso2019-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | While `pip3 install .` still works, `python3 setup.py install` does not (and ditto for Python2), because subpackages of `pygments` don't get installed. Even running `find_packages` on its own has consistent behavior: ``` $ python3 >>> from setuptools import setup, find_packages >>> find_packages(exclude=['tests']) ['pygments', 'pygments.filters', 'pygments.lexers', 'pygments.formatters', 'pygments.styles'] >>> find_packages(include=['pygments']) ['pygments'] ``` The bug seems to have been introduced in 8d0828bbfc5b8deb7525a19e1037704f644563da. Tested on macOS 10.14 with Homebrew Python 2.7.17 and 3.7.5.
* Bump version to 2.5.1.2.5.1Matthäus G. Chajdas2019-11-261-1/+1
|
* Exclude tests from distribution.Matthäus G. Chajdas2019-11-261-1/+1
| | | | The tests package is found as a package due to presence of __init__.py. Use include to ensure only pygments gets installed.
* Bump version number.2.5.0Matthäus G. Chajdas2019-11-261-1/+1
|
* Assume setuptools is availableJon Dufresne2019-11-251-26/+4
| | | | | | | On modern Python installations, setuptools should always be available and should always be preferred. Can remove the fallback to distutils. Replace the pygmentize script with a __main__.py in the package.
* Document and test all supported Python versionsJon Dufresne2019-11-241-0/+3
| | | | | Document support for Python 3.8 (released October 14th, 2019) and PyPy and add them to the test matrix.
* Fixup all headers and some more minor problems.2.4.2Georg Brandl2019-05-281-1/+1
|
* Update changelog, prepare 2.4.2 release.Georg Brandl2019-05-281-1/+1
|
* Fix PyPI rejecting the long description.2.4.1Matth?us G. Chajdas2019-05-241-14/+15
| | | | The long description failed to parse due to whitespace issues.
* Update CHANGES and prepare for 2.4.1 release.Matth?us G. Chajdas2019-05-241-1/+1
|
* Bump version to 2.4.0.Matth?us G. Chajdas2019-05-081-1/+1
|
* Add python_requires and update Trove classifiershugovk2019-02-061-0/+5
|
* Prepare 2.3.1 release.Matth?us G. Chajdas2018-12-161-1/+1
|
* Update changelog and version number.Matth?us G. Chajdas2018-11-241-1/+1
|
* Bump to 2.2.0 final.2.2.0Georg Brandl2017-01-221-2/+2
|
* Copyright update.Georg Brandl2017-01-221-1/+1
|
* Add support for partials and path segments for Handlebars.Christian Hammond2016-11-041-0/+77
This introduces support for some missing features to the Handlebars lexer: Partials and path segments. Partials mostly appeared to work before, but the `>` in `{{> ... }}` would appear as a syntax error, as could other components of the partial. This change introduces support for: * Standard partials: `{{> partialName}}` * Partials with parameters: `{{> partialName varname="value"}}` * Ddynamic partials: `{{> (partialFunc)}}` * Ddynamic partials with lookups: `{{> (lookup ../path "partialName")}}` * Partial blocks: `{{> @partial-block}}` * Inline partials: `{{#*inline}}..{{/inline}}` It also introduces support for path segments, which can reference content in the current context or in a parent context. For instance, `this.name`, `this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked as variables.