2013-07-03 06:08:50 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
2020-08-26 17:49:19 +00:00
|
|
|
from setuptools import setup, find_namespace_packages
|
2013-08-09 10:50:41 +00:00
|
|
|
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',
|
2013-08-09 10:50:41 +00:00
|
|
|
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',
|
2020-08-30 10:22:58 +00:00
|
|
|
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']),
|
2020-08-31 09:33:55 +00:00
|
|
|
install_requires = ['setuptools', 'toml', 'structlog', 'appdirs', 'tornado>=6', 'pycurl'],
|
2018-06-27 08:01:51 +00:00
|
|
|
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',
|
2019-10-15 09:27:34 +00:00
|
|
|
'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': [
|
2019-10-15 08:54:31 +00:00
|
|
|
'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
|
|
|
],
|
|
|
|
},
|
2020-08-26 17:49:19 +00:00
|
|
|
scripts=['scripts/nvchecker-ini2toml'],
|
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",
|
2020-02-18 08:16:44 +00:00
|
|
|
"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
|
|
|
)
|