-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
38 lines (34 loc) · 1.13 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
#!/usr/bin/env python
import sys
from setuptools import setup
sys.path.insert(0, 'libcnml')
from version import __version__, __license__
sys.path.remove('libcnml')
if sys.argv[-1] == 'publish':
import os
os.system("python setup.py sdist bdist_wheel upload -s")
args = {'version': __version__}
print("You probably want to also tag the version now:")
print(" git tag -s -a v%(version)s -m 'version %(version)s'" % args)
print(" git push --tags")
sys.exit()
setup(
name='libcnml',
packages=['libcnml'],
version=__version__,
description="A CNML parser for Python",
long_description=open('README.md').read(),
author='Pablo Castellano',
author_email='[email protected]',
url='https://github.com/PabloCastellano/libcnml/',
download_url='https://github.com/PabloCastellano/libcnml/archive/master.zip',
keywords=['cnml', 'free networks', 'guifi.net'],
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2',
],
license=__license__,
include_package_data=True,
zip_safe=False,
test_suite="libcnml.tests.test_libcnml"
)