-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathsetup.py
executable file
·65 lines (58 loc) · 1.96 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
#!/usr/bin/env python
import sys
import re
from os.path import join, dirname
from setuptools import setup, find_packages
requires = ['Jinja2==2.6', 'Markdown>=2.0.1']
kw = {}
if sys.version_info[0] >= 3:
kw["use_2to3"] = True
kw['use_2to3_exclude_fixers'] = ['lib2to3.fixes.execfile', ]
requires.append('unidecode')
else:
requires.append('translitcodec>=0.2')
if sys.version_info < (2, 7):
requires.append('argparse')
if sys.platform == 'win32':
requires.append('colorama')
setup(
name='acrylamid',
version='0.7.11.dev0',
author='Martin Zimmermann',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
url='http://posativ.org/acrylamid/',
license='BSD revised',
description='static blog compiler with incremental updates',
long_description=open(join(dirname(__file__), 'README.rst')).read(),
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
],
install_requires=requires,
extras_require={
'full': ['pygments', 'docutils', 'smartypants', 'asciimathml',
'textile', 'unidecode', 'PyYAML', 'twitter', 'discount'],
'mako': ['mako==0.7.3'],
},
tests_require=['Attest-latest', 'cram', 'docutils'],
test_loader='attest:auto_reporter.test_loader',
test_suite='acrylamid.specs.testsuite',
entry_points={
'console_scripts':
['acrylamid = acrylamid:Acryl']
},
**kw
)