-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
37 deletions.
There are no files selected for viewing
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,6 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel" | ||
] | ||
build-backend = "setuptools.build_meta" |
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,26 @@ | ||
[metadata] | ||
name = ADS1x15-ADC | ||
version = 1.1.1 | ||
author = Chandra Wijaya Sentosa | ||
author_email = [email protected] | ||
description = Python library used for ADS1x15 analog to digital converter (ADC) | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
url = https://github.com/chandrawi/ADS1x15-ADC | ||
project_urls = | ||
Bug Tracker = https://github.com/chandrawi/ADS1x15-ADC/issues | ||
classifiers = | ||
Programming Language :: Python :: 2.7 | ||
Programming Language :: Python :: 3 | ||
License :: OSI Approved :: MIT License | ||
Operating System :: POSIX :: Linux | ||
Topic :: System :: Hardware | ||
Topic :: System :: Hardware :: Hardware Drivers | ||
|
||
[options] | ||
include_package_data = True | ||
packages = | ||
ADS1x15 | ||
python_requires = >=2.7 | ||
install_requires = | ||
smbus2 |
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,38 +1,3 @@ | ||
import pathlib | ||
from setuptools import setup | ||
import setuptools | ||
|
||
# The directory containing this file | ||
HERE = pathlib.Path(__file__).parent | ||
|
||
# The text of README file | ||
README = (HERE / "README.md").read_text() | ||
|
||
# This call to setup() does all the work | ||
setup( | ||
name="ADS1x15-ADC", | ||
version="1.1.0", | ||
description="Python library used for ADS1x15 analog to digital converter (ADC)", | ||
long_description=README, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/chandrawi/ADS1x15-ADC", | ||
author="Chandra Wijaya Sentosa", | ||
author_email="[email protected]", | ||
license="MIT", | ||
classifiers=[ | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.4", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
], | ||
packages=[ | ||
"ADS1x15", | ||
], | ||
include_package_data=True, | ||
install_requires=[ | ||
"smbus2", | ||
], | ||
) | ||
setuptools.setup() |