From 32ba0c839f337e79554fe8f8f53cfec5b82c3cc8 Mon Sep 17 00:00:00 2001 From: Tarek Date: Wed, 2 Sep 2020 12:23:56 +0200 Subject: [PATCH] add setup files for PyPi --- setup.cfg | 2 ++ setup.py | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100755 setup.cfg create mode 100755 setup.py diff --git a/setup.cfg b/setup.cfg new file mode 100755 index 0000000..a2f3748 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..81d78b0 --- /dev/null +++ b/setup.py @@ -0,0 +1,29 @@ +from distutils.core import setup +setup( + name = 'gsmHat', + packages = ['gsmHat'], + version = '0.1', + license='MIT', + description = 'Using the Waveshare GSM/GPRS/GNSS Hat for Raspberry Pi with Python', + author = 'Tarek Tounsi', + author_email = 'software@tounsi.de', + url = 'https://github.com/Civlo85/gsmHat', + download_url = 'https://github.com/Civlo85/gsmHat/archive/v_01.tar.gz', + keywords = ['Waveshare', 'GSM', 'GPS', 'Raspberry', 'Pi'], + install_requires=[ + 'serial', + 'datetime', + 'logging', + ], + classifiers=[ + 'Development Status :: 3 - Alpha', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package + 'Intended Audience :: Developers', + 'Topic :: Software Development :: Build Tools', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + ], +) \ No newline at end of file