Rev | Line | |
---|
[6320] | 1 | import os |
---|
| 2 | import glob |
---|
| 3 | |
---|
| 4 | from setuptools import setup, find_packages |
---|
| 5 | |
---|
| 6 | #Excellent guide on packaging python: |
---|
| 7 | # https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/ |
---|
| 8 | |
---|
| 9 | def read(*paths): |
---|
| 10 | """Build a file path from *paths* and return the contents.""" |
---|
| 11 | with open(os.path.join(*paths), 'r') as f: |
---|
| 12 | return f.read() |
---|
| 13 | |
---|
| 14 | setup( |
---|
| 15 | name='mango-wlan-exp', |
---|
| 16 | version='1.7.0', |
---|
| 17 | description='Experiments framework for Mango 802.11 Reference Design', |
---|
| 18 | long_description=(read('README')), |
---|
| 19 | url='http://warpproject.org/w/802.11/', |
---|
| 20 | license='BSD', |
---|
| 21 | author='Mango Communications, Inc.', |
---|
| 22 | author_email='info@mangocomm.com', |
---|
| 23 | package_dir = {'wlan_exp': '.'}, #setup.py lives at same level as wlan_exp modules |
---|
| 24 | packages=['wlan_exp', 'wlan_exp.transport', 'wlan_exp.log'], |
---|
| 25 | include_package_data=True, |
---|
| 26 | zip_safe=False, |
---|
| 27 | classifiers=[ |
---|
| 28 | 'Private :: Do Not Upload', #Use bogus classifier to block accidental PyPI uploads for now |
---|
| 29 | ], |
---|
| 30 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.