-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced distutils setup by setuptools setup. New release!
- Loading branch information
Showing
3 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pyserial | ||
pyserial>=3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,37 @@ | ||
# -*- coding: utf-8 -*- | ||
from distutils.core import setup | ||
from os import path | ||
from setuptools import setup | ||
from codecs import open | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
# Get the long description from the README file | ||
with open(path.join(here, 'README.rst'), encoding='utf-8') as readme: | ||
long_description = readme.read() | ||
|
||
setup( | ||
name='pypozyx', | ||
packages=['pypozyx', 'pypozyx.definitions', | ||
'pypozyx.structures', 'pypozyx'], | ||
'pypozyx.structures'], | ||
version='1.1.0', | ||
description='Python library for Pozyx devices', | ||
install_requires=[ | ||
'pyserial>=3.0' | ||
], | ||
long_description=long_description, | ||
author='Laurent Van Acker', | ||
license='GPLv3', | ||
author_email='[email protected]', | ||
url = 'https://github.com/pozyxLabs/Pozyx-Python-library', | ||
url='https://github.com/pozyxLabs/Pozyx-Python-library', | ||
download_url='https://github.com/pozyxLabs/Pozyx-Python-library/archive/v1.0.tar.gz', | ||
keywords=['pozyx', 'serial', 'positioning', 'localisation'], | ||
classifiers=[ | ||
'Programming Language :: Python', | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: End Users/Desktop', | ||
'Operating System :: OS Independent', | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Topic :: Scientific/Engineering', | ||
], | ||
long_description="""\ | ||
Pozyx Python library, used to interface with the Pozyx without need of an arduino. | ||
Currently supports USB (serial), planned I2C support. | ||
|
||
Both Python 2 and 3 are supported. | ||
""" | ||
) |