Made setup more consistent

This commit is contained in:
Connor
2019-09-16 09:46:34 +10:00
parent 724829e585
commit 23bd735a59

View File

@@ -1,23 +1,20 @@
# -*- coding: utf-8 -*- #!/usr/bin/env python3
# Learn more: https://github.com/Conr86/PySGP30 import setuptools
from setuptools import setup, find_packages with open('README.md', 'r') as f:
with open('README.md') as f:
readme = f.read() readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup( setuptools.setup(
name='pysgp30', name='PySGP30',
description='Library for reading data from the Sensirion SGP30', description='Library for reading data from the Sensirion SGP30',
version='0.1.6', version='0.1.6',
long_description=readme,
author='Connor Kneebone', author='Connor Kneebone',
author_email='connor@sfxrescue.com', author_email='connor@sfxrescue.com',
url='https://github.com/Conr86/PySGP30', url='https://github.com/Conr86/PySGP30',
license='MIT', license='MIT',
packages=find_packages(exclude=('tests')), packages=setuptools.find_packages(exclude=('tests')),
long_description=readme,
long_description_content_type="text/markdown",
install_requires=['smbus2'], install_requires=['smbus2'],
classifiers=[ classifiers=[
'Development Status :: 4 - Beta', 'Development Status :: 4 - Beta',