python-tldp/setup.py

45 lines
1.4 KiB
Python
Raw Normal View History

2016-02-11 03:22:23 +00:00
# -*- coding: utf-8 -*-
import os
2016-03-04 21:51:47 +00:00
import glob
2016-03-19 03:07:08 +00:00
from setuptools import setup
2016-04-27 17:52:56 +00:00
from tldp import VERSION
2016-02-11 03:22:23 +00:00
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as r_file:
readme = r_file.read()
setup(
name='tldp',
2016-04-27 17:52:56 +00:00
version=VERSION,
license='MIT',
2016-02-11 03:22:23 +00:00
author='Martin A. Brown',
author_email='martin@linux-ip.net',
2016-03-04 21:51:47 +00:00
url="http://en.tldp.org/",
2016-04-27 17:52:56 +00:00
description='automatic publishing tool for DocBook, Linuxdoc and Asciidoc',
2016-02-11 03:22:23 +00:00
long_description=readme,
2016-03-25 22:23:28 +00:00
packages=['tldp', 'tldp/doctypes'],
test_suite='nose.collector',
2016-03-15 05:28:41 +00:00
install_requires=['networkx', 'nose'],
2016-03-28 18:11:12 +00:00
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', ],
},
2016-02-11 03:22:23 +00:00
classifiers=[
2016-03-01 17:15:09 +00:00
'Development Status :: 4 - Beta',
2016-02-11 03:22:23 +00:00
'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',
2016-02-11 03:22:23 +00:00
],
)