forked from jslove/XAPX00
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (28 loc) · 1014 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
# pylint: disable=invalid-name, exec-used
"""Setup XAPX00 package."""
from __future__ import absolute_import
import sys
import os
from setuptools import setup, find_packages
# import subprocess
sys.path.insert(0, '.')
CURRENT_DIR = os.path.dirname(__file__)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# to deploy to pip, please use
# make pythonpack
# python setup.py register sdist upload
# and be sure to test it firstly using "python setup.py register sdist upload -r pypitest"
setup(name='XAPX00',
version='0.1.1',
description='Control an XAP800/XAP400 unit',
long_description=read('README.md'),
install_requires=['pyserial>=3.3'],
license='GNU',
keywords=['XAP800', 'XAPX00', 'XAP400', 'Genternet', 'ClearOne'],
maintainer='Jay Love',
maintainer_email='jsloveiv@gmail.com',
zip_safe=True,
packages=find_packages(),
include_package_data=True,
url='https://github.com/jslove/XAPX00.git')