-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
executable file
·32 lines (30 loc) · 1.19 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
# -*- coding: utf-8 -*-
import os
from distutils.core import setup
from humod import __version__
CONFIG_FILES = [('/etc/ppp/peers', ['conf/humod'])]
try:
os.stat('/etc/ppp/options')
except OSError:
CONFIG_FILES = [('/etc/ppp/peers', ['conf/humod']),
('/etc/ppp/options', ['conf/options'])]
setup(name='pyhumod',
version=__version__,
packages=['humod'],
description='Access SMS, GSM and 3G features of Huawei and '
'compatible modems via clean and pragmatic Python API',
author='Slawek Ligus, František Malina',
author_email='root@ooz.ie',
url='https://github.com/oozie/pyhumod',
license='BSD',
platforms=['Linux'],
install_requires=['pyserial'],
data_files=CONFIG_FILES,
classifiers=['License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Intended Audience :: Developers',
'Topic :: Communications',
'Topic :: Software Development :: Libraries'])