mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
From b7a0f1c59b10f09c63828504facade963bf05ad5 Mon Sep 17 00:00:00 2001
|
|
From: Crestwave <crest.wave@yahoo.com>
|
|
Date: Fri, 2 Nov 2018 07:55:00 +0000
|
|
Subject: Add long_description, data_files and test_requires to setup.py
|
|
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index 588a6cd..6f6b91c 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -7,6 +7,10 @@ if sys.version_info[0] < 3:
|
|
|
|
url_template = 'https://github.com/asciinema/asciinema/archive/v%s.tar.gz'
|
|
requirements = []
|
|
+test_requirements = ['nose']
|
|
+
|
|
+with open('README.md', encoding='utf8') as file:
|
|
+ long_description = file.read()
|
|
|
|
setup(
|
|
name='asciinema',
|
|
@@ -14,6 +18,8 @@ setup(
|
|
packages=['asciinema', 'asciinema.commands', 'asciinema.asciicast'],
|
|
license='GNU GPLv3',
|
|
description='Terminal session recorder',
|
|
+ long_description=long_description,
|
|
+ long_description_content_type='text/markdown',
|
|
author=asciinema.__author__,
|
|
author_email='m@ku1ik.com',
|
|
url='https://asciinema.org',
|
|
@@ -23,7 +29,15 @@ setup(
|
|
'asciinema = asciinema.__main__:main',
|
|
],
|
|
},
|
|
+ data_files=[('documentation/packages/asciinema', ['CHANGELOG.md',
|
|
+ 'CODE_OF_CONDUCT.md',
|
|
+ 'CONTRIBUTING.md',
|
|
+ 'README.md',
|
|
+ 'doc/asciicast-v1.md',
|
|
+ 'doc/asciicast-v2.md']),
|
|
+ ('documentation/man/man1', ['man/asciinema.1'])],
|
|
install_requires=requirements,
|
|
+ tests_require=test_requirements,
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Environment :: Console',
|
|
--
|
|
2.19.1
|
|
|