forked from gocept/gocept.template_rewrite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
58 lines (49 loc) · 1.47 KB
/
setup.py
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
54
55
56
57
58
# This should be only one line. If it must be multi-line, indent the second
# line onwards to keep the PKG-INFO file format intact.
"""A tool to rewrite parts of template files (DTML, ZPT).
"""
from setuptools import setup, find_packages
import glob
setup(
name='gocept.template_rewrite',
version='0.1.dev0',
install_requires=[
'setuptools',
],
extras_require={
'test': [
'pytest',
'pytest-mock',
],
},
entry_points={
'console_scripts': [
'template-rewrite = gocept.template_rewrite.main:main'
],
},
author='gocept <[email protected]>',
author_email='[email protected]',
license='MIT',
url='https://github.com/gocept/gocept.template_rewrite/',
keywords='Zope DTML ZPT pagetemplates migrate Python 3',
classifiers="""\
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: Implementation :: CPython
"""[:-1].split('\n'),
description=__doc__.strip(),
long_description='\n\n'.join(open(name).read() for name in (
'README.rst',
'HACKING.rst',
'CHANGES.rst',
)),
namespace_packages=['gocept'],
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
data_files=[('', glob.glob('*.txt')),
('', glob.glob('*.rst'))],
zip_safe=False,
)