Skip to content

Commit d9e1da3

Browse files
authored
Merge pull request #11 from adafruit/setup-py-disabled
Updating setup.py.disabled
2 parents 931630c + 467ecfa commit d9e1da3

File tree

2 files changed

+3
-90
lines changed

2 files changed

+3
-90
lines changed

README.rst

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -27,33 +27,6 @@ Please ensure all dependencies are available on the CircuitPython filesystem.
2727
This is easily achieved by downloading
2828
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.
2929

30-
Installing from PyPI
31-
=====================
32-
.. note:: This library is not available on PyPI yet. Install documentation is included
33-
as a standard element. Stay tuned for PyPI availability!
34-
35-
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
36-
PyPI <https://pypi.org/project/adafruit-circuitpython-nunchuk/>`_. To install for current user:
37-
38-
.. code-block:: shell
39-
40-
pip3 install adafruit-circuitpython-nunchuk
41-
42-
To install system-wide (this may be required in some cases):
43-
44-
.. code-block:: shell
45-
46-
sudo pip3 install adafruit-circuitpython-nunchuk
47-
48-
To install in a virtual environment in your current project:
49-
50-
.. code-block:: shell
51-
52-
mkdir project-name && cd project-name
53-
python3 -m venv .env
54-
source .env/bin/activate
55-
pip3 install adafruit-circuitpython-nunchuk
56-
5730
Usage Example
5831
=============
5932

setup.py.disabled

Lines changed: 3 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,4 @@
1-
"""A setuptools based setup module.
2-
3-
See:
4-
https://packaging.python.org/en/latest/distributing.html
5-
https://github.com/pypa/sampleproject
61
"""
7-
8-
from setuptools import setup, find_packages
9-
# To use a consistent encoding
10-
from codecs import open
11-
from os import path
12-
13-
here = path.abspath(path.dirname(__file__))
14-
15-
# Get the long description from the README file
16-
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
17-
long_description = f.read()
18-
19-
setup(
20-
name='adafruit-circuitpython-nunchuk',
21-
22-
use_scm_version=True,
23-
setup_requires=['setuptools_scm'],
24-
25-
description='CircuitPython library for Nintendo Nunchuk controller',
26-
long_description=long_description,
27-
long_description_content_type='text/x-rst',
28-
29-
# The project's main homepage.
30-
url='https://github.com/adafruit/Adafruit_CircuitPython_Nunchuk',
31-
32-
# Author details
33-
author='Adafruit Industries',
34-
author_email='[email protected]',
35-
36-
install_requires=[
37-
'Adafruit-Blinka',
38-
'adafruit-circuitpython-busdevice'
39-
],
40-
41-
# Choose your license
42-
license='MIT',
43-
44-
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
45-
classifiers=[
46-
'Development Status :: 3 - Alpha',
47-
'Intended Audience :: Developers',
48-
'Topic :: Software Development :: Libraries',
49-
'Topic :: System :: Hardware',
50-
'License :: OSI Approved :: MIT License',
51-
'Programming Language :: Python :: 3',
52-
'Programming Language :: Python :: 3.4',
53-
'Programming Language :: Python :: 3.5',
54-
],
55-
56-
# What does your project relate to?
57-
keywords='adafruit blinka circuitpython micropython nunchuk nintendo nunchuck',
58-
59-
# You can just specify the packages manually here if your project is
60-
# simple. Or you can use find_packages().
61-
# TODO: IF LIBRARY FILES ARE A PACKAGE FOLDER,
62-
# CHANGE `py_modules=['...']` TO `packages=['...']`
63-
py_modules=['adafruit_nunchuk'],
64-
)
2+
This library is not deployed to PyPI. It is either a board-specific helper library, or
3+
does not make sense for use on or is incompatible with single board computers and Linux.
4+
"""

0 commit comments

Comments
 (0)