2021-01-14 16:45:11 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
2018-08-26 19:31:35 +00:00
|
|
|
"""A setuptools based setup module.
|
|
|
|
|
|
|
|
See:
|
|
|
|
https://packaging.python.org/en/latest/distributing.html
|
|
|
|
https://github.com/pypa/sampleproject
|
|
|
|
"""
|
|
|
|
|
|
|
|
# Always prefer setuptools over distutils
|
|
|
|
from setuptools import setup, find_packages
|
2020-03-16 20:00:49 +00:00
|
|
|
|
2018-08-26 19:31:35 +00:00
|
|
|
# To use a consistent encoding
|
|
|
|
from codecs import open
|
|
|
|
from os import path
|
|
|
|
|
|
|
|
here = path.abspath(path.dirname(__file__))
|
|
|
|
|
|
|
|
# Get the long description from the README file
|
2020-03-16 20:00:49 +00:00
|
|
|
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
|
2018-08-26 19:31:35 +00:00
|
|
|
long_description = f.read()
|
|
|
|
|
|
|
|
setup(
|
2020-03-16 20:00:49 +00:00
|
|
|
name="adafruit-circuitpython-pn532",
|
2018-08-26 19:31:35 +00:00
|
|
|
use_scm_version=True,
|
2020-03-16 20:00:49 +00:00
|
|
|
setup_requires=["setuptools_scm"],
|
|
|
|
description="CircuitPython library for controlling PN532 RFID/NFC reader-writer.",
|
2018-08-26 19:31:35 +00:00
|
|
|
long_description=long_description,
|
2020-03-16 20:00:49 +00:00
|
|
|
long_description_content_type="text/x-rst",
|
2018-08-26 19:31:35 +00:00
|
|
|
# The project's main homepage.
|
2020-03-16 20:00:49 +00:00
|
|
|
url="https://github.com/adafruit/Adafruit_CircuitPython_PN532",
|
2018-08-26 19:31:35 +00:00
|
|
|
# Author details
|
2020-03-16 20:00:49 +00:00
|
|
|
author="Adafruit Industries",
|
|
|
|
author_email="circuitpython@adafruit.com",
|
|
|
|
install_requires=[
|
|
|
|
"Adafruit-Blinka",
|
|
|
|
"adafruit-circuitpython-busdevice",
|
|
|
|
"pyserial",
|
|
|
|
],
|
2018-08-26 19:31:35 +00:00
|
|
|
# Choose your license
|
2020-03-16 20:00:49 +00:00
|
|
|
license="MIT",
|
2018-08-26 19:31:35 +00:00
|
|
|
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
|
|
|
|
classifiers=[
|
2020-03-16 20:00:49 +00:00
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Topic :: Software Development :: Libraries",
|
|
|
|
"Topic :: System :: Hardware",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Programming Language :: Python :: 3",
|
2018-08-26 19:31:35 +00:00
|
|
|
],
|
|
|
|
# What does your project relate to?
|
2020-03-16 20:00:49 +00:00
|
|
|
keywords="adafruit pn532 rfid nfc hardware micropython circuitpython",
|
2018-08-26 19:31:35 +00:00
|
|
|
# You can just specify the packages manually here if your project is
|
|
|
|
# simple. Or you can use find_packages().
|
2020-03-16 20:00:49 +00:00
|
|
|
packages=["adafruit_pn532"],
|
2018-08-26 19:31:35 +00:00
|
|
|
)
|