-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
50 lines (44 loc) · 1.73 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
from coverage.annotate import os
from setuptools import setup, find_packages
from setuptools.command.build_py import build_py as DistutilsBuild
class MyBuild(DistutilsBuild):
def run(self):
DistutilsBuild.run(self)
os.system('make')
setup(
name='xml-boiler',
version='0.9.13',
url='https://github.com/vporton/xml-boiler',
license='AGPLv3',
author='Victor Porton',
author_email='porton@narod.ru',
description='Automatically transform between XML namespaces',
long_description='Automatically transform between XML namespaces, possibly doing a chain of file format conversions',
keywords='XML,XML namespaces,file format conversion',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Topic :: Other/Nonlisted Topic',
'Topic :: Text Processing :: Filters',
'Topic :: Text Processing :: Markup :: XML',
],
#use_scm_version=True,
setup_requires=['setuptools_scm'],
packages=find_packages(),
# package_data={'': ['**/*.xml', '**/*.ttl', '**/*.net', 'data/assets/*', 'data/scripts/*.xslt',
# 'xmlboiler/doc/*.html', 'xmlboiler/doc/*.css']},
include_package_data=True,
zip_safe=False,
scripts=['bin/boiler'],
# Does not work for non-root install:
# data_files = [
# ('/etc/xmlboiler', ['etc/config-cli.ttl'])
# ],
test_suite="xmlboiler.tests",
cmdclass={'build_py': MyBuild},
)