-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
67 lines (57 loc) · 1.8 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
59
60
61
62
63
64
65
66
67
import os
from setuptools import setup
from nanogen.version import version
def extra_files(path):
return [os.path.join('..', path, name)
for (path, _, names) in os.walk(path)
for name in names]
install_requires = [
'click==6.7',
'mistune==0.8.3',
'mistune-contrib==0.1',
'Jinja2==2.10',
'Pygments==2.2.0'
]
dev_requires = [
'pytest==3.4.1'
]
entry_points = {
'console_scripts': ['nanogen = nanogen.cli:cli']
}
long_description = open(
os.path.join(
os.path.dirname(__file__),
'README.rst'
)
).read()
setup(name='nanogen',
version=version,
description='A very small static blog generator',
long_description=long_description,
author='Bill Israel',
author_email='[email protected]',
license='MIT',
url='https://github.com/epochblue/nanogen',
packages=['nanogen'],
package_data={'nanogen': extra_files(os.path.join('nanogen', 'template'))},
install_requires=install_requires,
extras_require={
'dev': dev_requires,
},
entry_points=entry_points,
keywords=['command line', 'static generator', 'blog'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries :: Python Modules'
])