-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
47 lines (41 loc) · 1.27 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
47
#!/usr/bin/env python
from setuptools import setup, find_packages
README = 'README.md'
with open('requirements.txt') as f:
requirements = f.readlines()
def long_desc():
try:
import pypandoc
except ImportError:
with open(README) as f:
return f.read()
else:
return pypandoc.convert(README, 'rst')
setup(
name='ecmcli',
version='10',
description='Command Line Interface for Cradlepoint ECM (e.g. NCM)',
author='Justin Mayfield',
author_email='[email protected]',
url='https://github.com/mayfield/ecmcli/',
license='MIT',
long_description=long_desc(),
packages=find_packages(),
test_suite='test',
install_requires=requirements,
entry_points={
'console_scripts': ['ecm=ecmcli.main:main', 'ncm=ecmcli.main:main'],
},
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
)