Rework setup.py

This commit is contained in:
Matteo Cypriani 2018-04-21 21:43:38 +02:00
parent 1de548e62f
commit 2136a91df4
1 changed files with 42 additions and 21 deletions

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup from setuptools import setup
import sys import sys
@ -7,22 +6,44 @@ from os import path
name = 'gcp' name = 'gcp'
setup(name=name, setup(
version='0.1.4', name=name,
description=u"gcp is an advanced copy tool loosely inspired from cp", version='0.2.0',
long_description=u'gcp is a command-line tool to copy files, loosely inspired from cp, but with high level functionalities such as progress bar, copy continuation on error, journaling to know which files were successfuly copied, name mangling to workaround filesystem limitations (FAT), unique copy queue, copy list managemet, command arguments close to cp', url='https://code.lm7.fr/mcy/gcp',
author='Goffi (Jérôme Poisson)', license='GPL-3+',
author_email='goffi@goffi.org',
url='http://wiki.goffi.org/wiki/Gcp', description="An advanced file copy tool loosely inspired from cp",
classifiers=['Environment :: Console', long_description_content_type='text/markdown',
'Intended Audience :: End Users/Desktop', long_description="""
'License :: OSI Approved :: GNU General Public License (GPL)', **%s** is a command-line tool to copy files, loosely inspired from the `cp`
'Operating System :: POSIX :: Linux', command, but with higher-level functionalities such as progress bar, copy
'Programming Language :: Python', continuation on error, logging to know which files were successfully
'Topic :: Utilities' copied, name mangling to workaround filesystem limitations (FAT), unique
], copy queue, copy list management, etc.""" % name,
data_files=[('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/gcp.mo']), keywords='file copy',
('share/man/man1', ["gcp.1"]),
('share/doc/%s' % name, ['COPYING','README.md'])], author='Goffi (Jérôme Poisson)',
scripts=['gcp'], author_email='goffi@goffi.org',
) maintainer='Matteo Cypriani',
maintainer_email='mcy@lm7.fr',
# Cf. https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Topic :: Utilities',
],
data_files=[
('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/gcp.mo']),
('share/man/man1', ["gcp.1"]),
('share/doc/%s' % name, ['COPYING', 'README.md']),
],
scripts=['gcp'],
install_requires=['PyGObject', 'dbus-python'],
python_requires='>=3',
)