-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (41 loc) · 2.01 KB
/
setup.py
File metadata and controls
53 lines (41 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/bin/env python
"""
This is the installation script of the step module, a light and fast template engine. You can run it by typing:
python setup.py install
You can also run the test suite by running:
python setup.py test
"""
import sys
from distutils.core import setup
from step.tests import TestCommand
__author__ = "Daniele Mazzocchio <danix@kernel-panic.it>"
__version__ = "0.0.4"
__date__ = "Aug 02, 2023"
# Python versions prior 2.2.3 don't support 'classifiers' and 'download_url'
if sys.version < "2.2.3":
from distutils.dist import DistributionMetadata
DistributionMetadata.classifiers = None
DistributionMetadata.download_url = None
setup(name = "step-template",
version = __version__,
author = "Daniele Mazzocchio",
author_email = "danix@kernel-panic.it",
packages = ["step", "step.tests"],
cmdclass = {"test": TestCommand},
description = "Simple Template Engine for Python",
download_url = "https://github.com/dotpy/step/archive/step-%s.tar.gz" % __version__,
classifiers = ["Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Text Processing"],
url = "https://github.com/dotpy/step",
license = "OSI-Approved :: BSD License",
keywords = "templates templating template-engines",
long_description = "step is a pure-Python module providing a very "
"simple template engine with minimum syntax. It "
"supports variable expansion, flow control and "
"embedding of Python code.")