-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
70 lines (62 loc) · 2.44 KB
/
setup.py
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
66
67
68
69
70
# -*- coding: utf8 -*-
"""
A setuptools based setup module for Pylatest.
See:
* https://packaging.python.org/en/latest/distributing.html
* https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
import codecs
import os
long_description="""\
Pylatest project consists of set of Docutils/Sphinx extensions and related
tools which allows you to:
* Write a description of a test case using reStructuredText syntax.
* Maintain test case description as Sphinx project.
* Export test cases into other systems via XML files.
"""
setup(
name='pylatest',
# See https://packaging.python.org/en/latest/distributing/#choosing-a-versioning-scheme
# TODO: connect with git tags?
version='0.1.4',
description='Testcase description management tools.',
long_description=long_description,
url='http://gitlab.com/mbukatov/pylatest/',
author='Martin Bukatovič',
author_email='mbukatov@redhat.com',
license='GPLv3',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Utilities',
'Topic :: Text Processing :: Markup',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
packages=find_packages(exclude=['doc', 'tests']),
install_requires=['docutils', 'lxml', 'sphinx>=1.6.0'],
# TODO: make this work with git (and remove MANIFEST.in?)
# setup_requires=['setuptools_scm'],
# use_scm_version=True,
include_package_data=True,
entry_points={
'console_scripts': [
'pylatest-template=pylatest.template:main',
'py2pylatest=pylatest.pysource:main',
'pylatest-rst2html=pylatest.main:pylatest2html',
'pylatest-rst2htmlplain=pylatest.main:pylatest2htmlplain',
'pylatest-rst2pseudoxml=pylatest.main:pylatest2pseudoxml',
'pylatest-preview=pylatest.main:pylatest_preview',
],
},
# https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use
project_urls={
'Documentation': 'https://pylatest.readthedocs.io',
'Bug Reports': 'https://gitlab.com/mbukatov/pylatest/issues',
'Source': 'https://gitlab.com/mbukatov/pylatest/',
'Example Project': 'https://gitlab.com/marbu/pylatest-demo',
},
)