Skip to content

Commit 9c14618

Browse files
committed
Update packaging support files
1 parent a13331a commit 9c14618

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

Diff for: MANIFEST.in

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include demos/*/*.py
2+
include src/ant/*/tests/*.py
3+
include LICENSE
4+
include README.md
5+
include CHANGES.md
6+
include DEVELOP.md

Diff for: setup.py

+11-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
from setuptools import setup, find_packages
2929

3030

31+
def demos():
32+
top = os.listdir('demos')
33+
for topdir in top:
34+
demos = os.listdir('demos/{0}'.format(topdir))
35+
3136
def read(fname):
3237
return open(os.path.join(os.path.dirname(__file__), fname)).read()
3338

@@ -52,8 +57,12 @@ def read(fname):
5257
"Topic :: Communications",
5358
"Topic :: Communications :: File Sharing",
5459
"Topic :: Software Development :: Libraries :: Python Modules",
55-
],
60+
],
5661
packages=find_packages('src'),
5762
package_dir={'': 'src'},
58-
install_requires=['distribute', 'pyserial', 'msgpack-python'],
63+
install_requires=[
64+
'distribute',
65+
'pyserial == 2.5',
66+
'msgpack-python == 0.1.10'
67+
],
5968
)

0 commit comments

Comments
 (0)