-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·72 lines (66 loc) · 2.42 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
71
72
#!/usr/bin/env python
#
# Copyright (c) 2016 SUSE Linux GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 3 of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, contact SUSE LLC.
#
# To contact SUSE about this file by physical or electronic mail,
# you may find current contact information at www.suse.com
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
setupdict = dict(
name='schvalidator',
version='0.2.0',
description='Schematron Validator',
url='https://github.com/openSUSE/schvalidator',
# Author details
author='Thomas Schraitle',
author_email='toms (AT) opensuse.org',
license='GPL-3.0+',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# 'Development Status :: 5 - Production/Stable'
#
'Development Status :: 3 - Alpha',
'Topic :: Documentation',
'Topic :: Software Development :: Documentation',
'Intended Audience :: Developers',
# The license:
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
# Supported Python versions:
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='docbook schematron XML',
include_package_data=True,
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['lxml', 'docopt'],
setup_requires=['pytest-runner', ],
tests_require=['pytest', 'pytest-cov', 'pytest-catchlog'],
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
# '': ['src/dbschvalid/*.xsl'],
},
entry_points={
'console_scripts': [
'schvalidator=schvalidator.cli:main',
],
},
)
setup(**setupdict)