forked from textile/python-textile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (40 loc) · 1.24 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
from setuptools import setup, find_packages
import os
import sys
install_requires = []
if 'develop' in sys.argv:
install_requires.extend([
'tox',
])
def get_version():
basedir = os.path.dirname(__file__)
with open(os.path.join(basedir, 'textile/version.py')) as f:
variables = {}
exec(f.read(), variables)
return variables.get('VERSION')
raise RuntimeError('No version info found.')
setup(
name='textile',
version=get_version(),
description='Textile processing for python.',
url='http://github.com/textile/python-textile',
packages=find_packages(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='textile,text',
install_requires=install_requires,
extras_require={
':python_version=="2.6"': ['ordereddict>=1.1'],
},
test_suite='nose.collector',
tests_require=['nose'],
include_package_data=True,
zip_safe=False,
)