Skip to content

Commit ec625a6

Browse files
authored
Merge pull request #29 from agronholm/patch-1
Modernized setup.py
2 parents 5af6f84 + 5f6eb52 commit ec625a6

1 file changed

Lines changed: 16 additions & 17 deletions

File tree

setup.py

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
1-
from distutils.core import setup
2-
3-
packages=[
4-
'xbee',
5-
'xbee.tests',
6-
'xbee.helpers',
7-
'xbee.helpers.dispatch',
8-
'xbee.helpers.dispatch.tests',
9-
]
1+
from setuptools import setup, find_packages
102

113
setup(
124
name='XBee',
135
version='2.2.3',
14-
author='Paul Malmsten',
15-
author_email='pmalmsten@gmail.com',
16-
packages=packages,
17-
scripts=[],
18-
url='https://github.com/nioinnovation/python-xbee',
19-
license='LICENSE.txt',
206
description='Python tools for working with XBee radios',
217
long_description=open('README.rst').read(),
22-
requires=['serial'],
23-
provides=packages,
8+
url='https://github.com/nioinnovation/python-xbee',
9+
author='Paul Malmsten',
10+
author_email='pmalmsten@gmail.com',
11+
license='MIT',
12+
classifiers=[
13+
'Development Status :: 5 - Production/Stable',
14+
'Intended Audience :: Developers',
15+
'License :: OSI Approved :: MIT License',
16+
'Topic :: Terminals :: Serial',
17+
'Programming Language :: Python',
18+
'Programming Language :: Python :: 2'
19+
'Programming Language :: Python :: 3'
20+
],
21+
packages=find_packages(exclude=['tests', '*.tests']),
22+
install_requires=['pyserial']
2423
)

0 commit comments

Comments
 (0)