-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
46 lines (39 loc) · 1.34 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
#!/usr/bin/env python2
import os
import sys
from setuptools import setup
# Publish Helper.
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
include_dirs = ['iwlib']
dependencies = ['cffi>=1.0.0']
cffi_modules = ['iwlib/_iwlib_build.py:ffibuilder']
settings = {
'name': 'iwlib',
'version': '1.6.2',
'description': "Python module to interface with iwlib",
'long_description': open('README.rst').read(),
'author': 'Nathan Hoad',
'author_email': '[email protected]',
'url': 'https://github.com/nathan-hoad/python-iwlib',
'license': 'GPLv2',
'classifiers': [
# 'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: Implementation :: CPython',
],
'zip_safe': False,
'packages': ['iwlib'],
'install_requires': dependencies,
'setup_requires': dependencies,
'cffi_modules': cffi_modules,
}
setup(**settings)