]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Add Adafruit_GPIO dependency
authorScott Shawcroft <scott@tannewt.org>
Thu, 28 Jun 2018 18:18:37 +0000 (11:18 -0700)
committerScott Shawcroft <scott@tannewt.org>
Thu, 28 Jun 2018 18:18:37 +0000 (11:18 -0700)
.travis.yml
requirements.txt [new file with mode: 0755]
setup.py [changed mode: 0644->0755]

index 252c17627da99c2a07845982cedb6dc412cb1ba7..b16d061da13541dcad3760baefaacd7ad2568a56 100755 (executable)
@@ -34,5 +34,5 @@ install:
 script:
   - pylint src/**/*.py
   - ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py)
 script:
   - pylint src/**/*.py
   - ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py)
-  - circuitpython-build-bundles --filename_prefix adafruit-circuitpython-blinka --library_location .
+  - circuitpython-build-bundles --filename_prefix adafruit-circuitpython-blinka --library_location src/
   - cd docs && sphinx-build -E -W -b html . _build/html
   - cd docs && sphinx-build -E -W -b html . _build/html
diff --git a/requirements.txt b/requirements.txt
new file mode 100755 (executable)
index 0000000..8bd5314
--- /dev/null
@@ -0,0 +1 @@
+Adafruit-GPIO
old mode 100644 (file)
new mode 100755 (executable)
index 26933ef..370f556
--- a/setup.py
+++ b/setup.py
@@ -21,9 +21,8 @@ REQUIRES_PYTHON = '>=3.6.0'
 VERSION = None
 
 # What packages are required for this module to be executed?
 VERSION = None
 
 # What packages are required for this module to be executed?
-REQUIRED = [
-    # 'requests', 'maya', 'records',
-]
+with open('requirements.txt') as f:
+    requirements = f.read().splitlines()
 
 here = os.path.abspath(os.path.dirname(__file__))
 
 
 here = os.path.abspath(os.path.dirname(__file__))
 
@@ -106,7 +105,7 @@ setup(
     # entry_points={
     #     'console_scripts': ['mycli=mymodule:cli'],
     # },
     # entry_points={
     #     'console_scripts': ['mycli=mymodule:cli'],
     # },
-    install_requires=REQUIRED,
+    install_requires=requirements,
     include_package_data=True,
     license='MIT',
     classifiers=[
     include_package_data=True,
     license='MIT',
     classifiers=[