2016-10-14 00:45:41 +02:00
|
|
|
import asciinema
|
2016-06-12 19:09:41 +02:00
|
|
|
import sys
|
2016-10-14 22:25:56 +02:00
|
|
|
from setuptools import setup
|
2016-06-12 19:09:41 +02:00
|
|
|
|
|
|
|
|
if sys.version_info[0] < 3:
|
|
|
|
|
sys.exit('Python < 3 is unsupported.')
|
|
|
|
|
|
2016-07-05 16:11:35 +02:00
|
|
|
url_template = 'https://github.com/asciinema/asciinema/archive/v%s.tar.gz'
|
2016-06-27 15:45:34 +02:00
|
|
|
requirements = []
|
2018-10-29 17:14:41 +08:00
|
|
|
test_requirements = ['nose']
|
|
|
|
|
|
|
|
|
|
with open('README.md', encoding='utf8') as file:
|
|
|
|
|
long_description = file.read()
|
2016-06-07 21:02:11 +02:00
|
|
|
|
|
|
|
|
setup(
|
|
|
|
|
name='asciinema',
|
|
|
|
|
version=asciinema.__version__,
|
2017-09-03 21:23:31 +02:00
|
|
|
packages=['asciinema', 'asciinema.commands', 'asciinema.asciicast'],
|
2016-07-05 16:08:33 +02:00
|
|
|
license='GNU GPLv3',
|
2016-07-05 17:10:38 +02:00
|
|
|
description='Terminal session recorder',
|
2018-10-29 17:14:41 +08:00
|
|
|
long_description=long_description,
|
|
|
|
|
long_description_content_type='text/markdown',
|
2016-06-07 21:02:11 +02:00
|
|
|
author=asciinema.__author__,
|
|
|
|
|
author_email='m@ku1ik.com',
|
|
|
|
|
url='https://asciinema.org',
|
|
|
|
|
download_url=(url_template % asciinema.__version__),
|
|
|
|
|
entry_points={
|
|
|
|
|
'console_scripts': [
|
|
|
|
|
'asciinema = asciinema.__main__:main',
|
|
|
|
|
],
|
|
|
|
|
},
|
2018-10-29 17:14:41 +08:00
|
|
|
data_files=[('share/doc/asciinema', ['CHANGELOG.md',
|
|
|
|
|
'CODE_OF_CONDUCT.md',
|
|
|
|
|
'CONTRIBUTING.md',
|
|
|
|
|
'README.md',
|
|
|
|
|
'doc/asciicast-v1.md',
|
|
|
|
|
'doc/asciicast-v2.md']),
|
|
|
|
|
('share/man/man1', ['man/asciinema.1'])],
|
2016-06-07 21:02:11 +02:00
|
|
|
install_requires=requirements,
|
2018-10-29 17:14:41 +08:00
|
|
|
tests_require=test_requirements,
|
2016-06-07 21:02:11 +02:00
|
|
|
classifiers=[
|
2016-07-05 16:09:00 +02:00
|
|
|
'Development Status :: 5 - Production/Stable',
|
2016-06-07 21:02:11 +02:00
|
|
|
'Environment :: Console',
|
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
|
'Intended Audience :: System Administrators',
|
2016-07-05 16:08:33 +02:00
|
|
|
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
2016-06-07 21:02:11 +02:00
|
|
|
'Natural Language :: English',
|
2016-06-12 19:09:41 +02:00
|
|
|
'Programming Language :: Python',
|
|
|
|
|
'Programming Language :: Python :: 3',
|
2016-06-07 21:02:11 +02:00
|
|
|
'Programming Language :: Python :: 3.3',
|
2016-06-12 19:09:41 +02:00
|
|
|
'Programming Language :: Python :: 3.4',
|
|
|
|
|
'Programming Language :: Python :: 3.5',
|
2017-04-11 17:00:38 +02:00
|
|
|
'Programming Language :: Python :: 3.6',
|
2016-06-07 21:02:11 +02:00
|
|
|
'Topic :: System :: Shells',
|
|
|
|
|
'Topic :: Terminals',
|
|
|
|
|
'Topic :: Utilities'
|
|
|
|
|
],
|
|
|
|
|
)
|