nvchecker/setup.py

66 lines
1.9 KiB
Python
Raw Normal View History

2013-07-03 06:08:50 +00:00
#!/usr/bin/env python3
from setuptools import setup, find_namespace_packages
import nvchecker
2013-07-03 06:08:50 +00:00
2018-11-19 07:08:06 +00:00
# The complex upload command:
# rm -rf dist && python setup.py sdist && twine check dist/* && twine upload -s dist/*
2013-07-03 06:08:50 +00:00
setup(
name = 'nvchecker',
version = nvchecker.__version__,
2015-11-11 06:20:49 +00:00
author = 'lilydjwg',
author_email = 'lilydjwg@gmail.com',
description = 'New version checker for software',
license = 'MIT',
keywords = 'new version build check',
url = 'https://github.com/lilydjwg/nvchecker',
long_description = open('README.rst', encoding='utf-8').read(),
2018-11-19 07:08:06 +00:00
long_description_content_type = 'text/x-rst',
2015-11-11 06:20:49 +00:00
platforms = 'any',
zip_safe = True,
2015-11-11 06:20:49 +00:00
2020-10-02 05:03:12 +00:00
packages = find_namespace_packages(exclude=['tests', 'build*', 'docs']),
install_requires = ['setuptools', 'packaging', 'toml', 'structlog', 'appdirs', 'tornado>=6', 'pycurl'],
extras_require = {
'vercmp': ['pyalpm'],
},
2015-11-11 05:39:56 +00:00
tests_require = [
2015-11-04 11:14:55 +00:00
'pytest',
2017-07-04 09:04:29 +00:00
'pytest-asyncio',
'pytest-httpbin',
2015-11-05 15:14:05 +00:00
'flaky',
2015-11-04 11:14:55 +00:00
],
2013-07-03 06:08:50 +00:00
entry_points = {
'console_scripts': [
'nvchecker = nvchecker.__main__:main',
2013-09-05 08:53:19 +00:00
'nvtake = nvchecker.tools:take',
2014-01-08 13:24:13 +00:00
'nvcmp = nvchecker.tools:cmp',
2013-07-03 06:08:50 +00:00
],
},
scripts = [
'scripts/nvchecker-ini2toml',
'scripts/nvchecker-notify',
],
2013-07-03 06:08:50 +00:00
2015-11-11 06:20:49 +00:00
classifiers = [
2017-12-08 07:45:53 +00:00
"Development Status :: 5 - Production/Stable",
2015-11-11 06:20:49 +00:00
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
2018-09-21 11:41:42 +00:00
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
2015-11-11 06:20:49 +00:00
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development",
"Topic :: System :: Archiving :: Packaging",
"Topic :: System :: Software Distribution",
"Topic :: Utilities",
],
2013-07-03 06:08:50 +00:00
)