mirror of
https://github.com/ProtoThis/python-synology.git
synced 2025-08-04 22:00:30 +00:00
Add PyPi badges + Add long_description, python_requires, license, & classifiers to setup (#15)
+ format setup to use 4 spaces indent
This commit is contained in:
44
setup.py
44
setup.py
@ -6,19 +6,39 @@
|
||||
# - Minor means API bugfix or new functionality
|
||||
# - Micro means change of any kind (unless significant enough for a minor/major).
|
||||
|
||||
import io
|
||||
from setuptools import setup
|
||||
from codecs import open
|
||||
from os import path
|
||||
|
||||
here = path.abspath(path.dirname(__file__))
|
||||
|
||||
# Get the long description from the README file
|
||||
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
setup(
|
||||
name = 'python-synology',
|
||||
packages = ['SynologyDSM'], # this must be the same as the name above
|
||||
version = '0.4.0',
|
||||
description = 'Python API for communication with Synology DSM',
|
||||
author = 'FG van Zeelst (StaticCube)',
|
||||
author_email = 'GitHub@StaticCube.com',
|
||||
url = 'https://github.com/StaticCube/python-synology/',
|
||||
download_url = 'https://github.com/StaticCube/python-synology/tarball/0.4.0',
|
||||
keywords = ['synology-dsm', 'synology'],
|
||||
classifiers = [],
|
||||
install_requires=['requests>=1.0.0']
|
||||
name = 'python-synology',
|
||||
version = '0.4.0',
|
||||
url = 'https://github.com/StaticCube/python-synology/',
|
||||
download_url = 'https://github.com/StaticCube/python-synology/tarball/0.4.0',
|
||||
description = 'Python API for communication with Synology DSM',
|
||||
long_description=long_description,
|
||||
author = 'FG van Zeelst (StaticCube)',
|
||||
author_email = 'GitHub@StaticCube.com',
|
||||
packages = ['SynologyDSM'], # this must be the same as the name above
|
||||
install_requires=['requests>=1.0.0'],
|
||||
python_requires=">=2.7.0",
|
||||
license="MIT",
|
||||
classifiers=[
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 2.7",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.4",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
],
|
||||
keywords = ['synology-dsm', 'synology'],
|
||||
)
|
||||
|
Reference in New Issue
Block a user