-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update python packaging files and prepare to release an alpha (#35)
LICENSE -> LICENSE.txt: - Renamed due to recommendation of PyPA RPi/GPIO/__init__.py: - Update VERSION2 constant to python package release number setup.cfg: - Create file as per recommendation of PyPA setup.py: - Update version number to match GitHub scheme - Update classifiers - Add project URLs (Source, Bug Reports) tests/test_gpio.py: - Add test for canonical python verison number using our new RPi.GPIO.VERSION2 constant Signed-off-by: Joel Savitz <joelsavitz@gmail.com>
- Loading branch information
Showing
8 changed files
with
724 additions
and
26 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,3 +47,6 @@ | |
setup,\ | ||
setwarnings,\ | ||
wait_for_edge | ||
|
||
# python3-libgpiod-rpi base version | ||
VERSION2 = "0.3.0a1" # Leviticus Alpha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[metadata] | ||
license_files = LICENSE.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,44 @@ | ||
import setuptools | ||
from setuptools import setup, find_packages | ||
|
||
with open("README.md", "r") as fh: | ||
with open("README.md", "r", encoding="utf-8") as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name="RPi.GPIO", | ||
version="0.0.2", | ||
author="Underground Software", | ||
author_email="fedora-rpi@googlegroups.com", | ||
setup( | ||
name="RPi.GPIO2", | ||
version="0.3.0a1", | ||
|
||
author="Joel Savitz", | ||
author_email="joelsavitz@gmail.com", | ||
|
||
description="Compatibility layer between RPi.GPIO syntax and libgpiod semantics", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
|
||
url="https://github.com/underground-software/python3-libgpiod-rpi", | ||
packages=setuptools.find_packages(), | ||
packages=find_packages(), | ||
|
||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", | ||
"Operating System :: POSIX :: Linux", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3", | ||
"Development Status :: 2 - Pre-Alpha" | ||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)" | ||
"Operating System :: POSIX :: Linux" | ||
"Programming Language :: Python :: 3.7", | ||
"Topic :: Home Automation", | ||
"Topic :: Software Development", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: Software Development :: Libraries :: Application Frameworks", | ||
"Topic :: System :: Hardware", | ||
], | ||
python_requires='>=3.6', | ||
|
||
keywords="Raspberry Pi GPIO libgpiod RPi.GPIO", | ||
|
||
python_requires=">=3.7", | ||
|
||
project_urls={ | ||
"Source": "https://github.com/underground-software/python3-libgpiod-rpi", | ||
"Bug Reports": "https://github.com/underground-software/python3-libgpiod-rpi/issues", | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,5 @@ do | |
scan examples/"$f" | ||
fi | ||
done | ||
|
||
scan setup.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters