Skip to content

Commit d6d76f0

Browse files
authored
Merge pull request #4 from dhalbert/setup-py
forgot setup.py for pypi
2 parents 85d90f8 + ea73675 commit d6d76f0

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

setup.py

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
"""A setuptools based setup module.
2+
3+
See:
4+
https://packaging.python.org/en/latest/distributing.html
5+
https://github.com/pypa/sampleproject
6+
"""
7+
8+
# Always prefer setuptools over distutils
9+
from setuptools import setup, find_packages
10+
# To use a consistent encoding
11+
from codecs import open
12+
from os import path
13+
14+
here = path.abspath(path.dirname(__file__))
15+
16+
# Get the long description from the README file
17+
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
18+
long_description = f.read()
19+
20+
setup(
21+
name='adafruit-circuitpython-bluefruitconnect',
22+
23+
use_scm_version=True,
24+
setup_requires=['setuptools_scm'],
25+
26+
description='CircuitPython library for use with the Adafruit Bluefruit Connect apps.',
27+
28+
long_description=long_description,
29+
long_description_content_type='text/x-rst',
30+
31+
# The project's main homepage.
32+
url='https://github.com/adafruit/Adafruit_CircuitPython_BluefruitConnect',
33+
34+
# Author details
35+
author='Adafruit Industries',
36+
author_email='[email protected]',
37+
38+
install_requires=['Adafruit-Blinka'],
39+
40+
# Choose your license
41+
license='MIT',
42+
43+
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
44+
classifiers=[
45+
'Development Status :: 3 - Alpha',
46+
'Intended Audience :: Developers',
47+
'Topic :: Software Development :: Libraries',
48+
'Topic :: System :: Hardware',
49+
'License :: OSI Approved :: MIT License',
50+
'Programming Language :: Python :: 3',
51+
'Programming Language :: Python :: 3.4',
52+
'Programming Language :: Python :: 3.5',
53+
],
54+
55+
# What does your project relate to?
56+
keywords='adafruit ble bluefruit bluetooth micropython circuitpython',
57+
58+
# You can just specify the packages manually here if your project is
59+
# simple. Or you can use find_packages().
60+
py_modules=['adafruit_bluefruit_connect'],
61+
)

0 commit comments

Comments
 (0)