-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
44 lines (39 loc) · 1.39 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
# -*- coding: utf-8 -*-
import os
import glob
from setuptools import setup
from tldp import VERSION
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as r_file:
readme = r_file.read()
setup(
name='tldp',
version=VERSION,
license='MIT',
author='Martin A. Brown',
author_email='[email protected]',
url="http://en.tldp.org/",
description='automatic publishing tool for DocBook, Linuxdoc and Asciidoc',
long_description=readme,
packages=['tldp', 'tldp/doctypes'],
test_suite='nose.collector',
install_requires=['networkx', 'nose'],
include_package_data=True,
package_data={'extras': ['extras/collateindex.pl'],
'extras/xsl': glob.glob('extras/xsl/*.xsl'),
'extras/css': glob.glob('extras/css/*.css'),
'extras/dsssl': glob.glob('extras/dsssl/*.dsl'),
},
data_files=[('/etc/ldptool', ['etc/ldptool.ini']), ],
entry_points={
'console_scripts': ['ldptool = tldp.driver:main', ],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Documentation',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)