forked from PabloCastellano/libcnml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (31 loc) · 1.04 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
#!/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'],
license=__license__,
include_package_data=True,
zip_safe=False,
install_requires=['six'],
test_suite = "libcnml.tests.test_libcnml"
)