From 663d1d9d7f315fc22de7b325603b91b3f6821ed9 Mon Sep 17 00:00:00 2001 From: Roy Hooper Date: Wed, 27 May 2020 17:11:11 -0400 Subject: [PATCH 1/2] fix package name --- README.rst | 8 ++++---- setup.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index cf3f7e4..c64f97c 100644 --- a/README.rst +++ b/README.rst @@ -29,17 +29,17 @@ This is easily achieved by downloading Installing from PyPI ===================== On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from -PyPI `_. To install for current user: +PyPI `_. To install for current user: .. code-block:: shell - pip3 install adafruit-circuitpython-led animation + pip3 install adafruit-circuitpython-led-animation To install system-wide (this may be required in some cases): .. code-block:: shell - sudo pip3 install adafruit-circuitpython-led animation + sudo pip3 install adafruit-circuitpython-led-animation To install in a virtual environment in your current project: @@ -48,7 +48,7 @@ To install in a virtual environment in your current project: mkdir project-name && cd project-name python3 -m venv .env source .env/bin/activate - pip3 install adafruit-circuitpython-led animation + pip3 install adafruit-circuitpython-led-animation Usage Example ============= diff --git a/setup.py b/setup.py index b95e951..2d446d7 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ long_description = f.read() setup( - name="adafruit-circuitpython-led animation", + name="adafruit-circuitpython-led-animation", use_scm_version=True, setup_requires=["setuptools_scm"], description="CircuitPython helper for LED colors and animations.", @@ -49,5 +49,5 @@ # simple. Or you can use find_packages(). # TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER, # CHANGE `py_modules=['...']` TO `packages=['...']` - py_modules=["adafruit_led animation"], + py_modules=["adafruit_led_animation"], ) From 04d5df0f54aa9dee3edbb6b4b0d1dc62f1e732ab Mon Sep 17 00:00:00 2001 From: Roy Hooper Date: Wed, 27 May 2020 17:13:16 -0400 Subject: [PATCH 2/2] fix url to github repo --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2d446d7..4ce2bd1 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ long_description=long_description, long_description_content_type="text/x-rst", # The project's main homepage. - url="https://github.com/adafruit/Adafruit_CircuitPython_LED Animation", + url="https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation", # Author details author="Adafruit Industries", author_email="circuitpython@adafruit.com",