Skip to content

Commit d505786

Browse files
committed
Replaced distutils setup by setuptools setup. New release!
1 parent 4f949b6 commit d505786

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

LICENSE renamed to LICENSE.txt

File renamed without changes.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pyserial
1+
pyserial>=3.0

setup.py

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,37 @@
11
# -*- coding: utf-8 -*-
2-
from distutils.core import setup
2+
from os import path
3+
from setuptools import setup
4+
from codecs import open
5+
6+
here = path.abspath(path.dirname(__file__))
7+
# Get the long description from the README file
8+
with open(path.join(here, 'README.rst'), encoding='utf-8') as readme:
9+
long_description = readme.read()
310

411
setup(
512
name='pypozyx',
613
packages=['pypozyx', 'pypozyx.definitions',
7-
'pypozyx.structures', 'pypozyx'],
14+
'pypozyx.structures'],
815
version='1.1.0',
916
description='Python library for Pozyx devices',
17+
install_requires=[
18+
'pyserial>=3.0'
19+
],
20+
long_description=long_description,
1021
author='Laurent Van Acker',
22+
license='GPLv3',
1123
author_email='[email protected]',
12-
url = 'https://github.com/pozyxLabs/Pozyx-Python-library',
24+
url='https://github.com/pozyxLabs/Pozyx-Python-library',
1325
download_url='https://github.com/pozyxLabs/Pozyx-Python-library/archive/v1.0.tar.gz',
1426
keywords=['pozyx', 'serial', 'positioning', 'localisation'],
1527
classifiers=[
1628
'Programming Language :: Python',
1729
'Development Status :: 5 - Production/Stable',
1830
'Intended Audience :: End Users/Desktop',
1931
'Operating System :: OS Independent',
32+
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
2033
'Topic :: Software Development :: Libraries :: Python Modules',
2134
'Topic :: Scientific/Engineering',
2235
],
23-
long_description="""\
24-
Pozyx Python library, used to interface with the Pozyx without need of an arduino.
25-
Currently supports USB (serial), planned I2C support.
2636

27-
Both Python 2 and 3 are supported.
28-
"""
2937
)

0 commit comments

Comments
 (0)