1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
# setup.py is outdated and shall be removed in the next release.
import setuptools
with open("README.rst", "r") as readme:
long_description = readme.read()
# from https://packaging.python.org/en/latest/guides/single-sourcing-package-version/
version = {}
with open("yarsync/version.py") as fp:
exec(fp.read(), version)
setuptools.setup(
name="yarsync",
version=version['__version__'],
author="Yaroslav Nikitenko",
author_email="metst13@gmail.com",
description="Yet Another Rsync is a file synchronization and backup tool",
license="GPLv3",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/ynikitenko/yarsync",
project_urls = {
'Documentation': 'https://yarsync.readthedocs.io',
'Source': 'https://github.com/ynikitenko/yarsync',
'Tracker': 'https://github.com/ynikitenko/yarsync/issues',
},
keywords="distributed, file, synchronization, rsync, backup",
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: System :: Archiving",
"Topic :: System :: Archiving :: Backup",
"Topic :: System :: Archiving :: Mirroring",
"Topic :: Utilities",
],
# briefly about entry points in Russian
# https://npm.mipt.ru/youtrack/articles/GENERAL-A-87/Использование-setuptools-в-Python
# original docs (also brief):
# https://setuptools.pypa.io/en/latest/userguide/entry_point.html
entry_points={
'console_scripts': [
'yarsync = yarsync.yarsync:main',
]
},
python_requires='>=3.6',
)
|