-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
35 lines (33 loc) · 1.12 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
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("requirements.txt", "r", encoding="utf-8") as fh:
requirements = fh.read()
setup(
name = 'epub2sphinx',
version = '0.0.5',
license = 'MIT',
description = 'Tool to convert epub to ReST for Sphinx',
long_description = long_description,
long_description_content_type = "text/markdown",
url = 'https://github.com/nifey/epub2sphinx',
project_urls={
"Bug Tracker": "https://github.com/nifey/epub2sphinx/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Environment :: Console",
"Development Status :: 3 - Alpha",
"Topic :: Documentation :: Sphinx",
],
py_modules = ['cli', 'epub2sphinx'],
packages = find_packages(),
package_data={'epub2sphinx': ['templates/*']},
install_requires = [requirements],
entry_points = '''
[console_scripts]
epub2sphinx=cli:convert
'''
)