-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·42 lines (33 loc) · 881 Bytes
/
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
#!/usr/bin/env python2
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
os.environ['PYTHONDONTWRITEBYTECODE'] = '1'
packages = [
'connman_dispatcher'
]
requires = [
'pyee >= 0.0.9',
'Logbook == 0.6.0'
]
setup(
name='connman-dispatcher',
version='0.0.8',
description='Call scripts on network changes',
long_description=open('README.md').read(),
author='Alexandr Skurikhin',
author_email='[email protected]',
url='http://github.com/a-sk/connman-dispatcher',
scripts=['bin/connman-dispatcher'],
packages=packages,
package_data={'': ['LICENSE']},
install_requires=requires,
license=open('LICENSE').read(),
)
del os.environ['PYTHONDONTWRITEBYTECODE']