-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (32 loc) · 999 Bytes
/
setup.py
File metadata and controls
35 lines (32 loc) · 999 Bytes
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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open("./PDFCode/version.txt", "r") as fh:
__version__ = fh.read().strip()
setuptools.setup(
name="PDFCode", # Replace with your own username
version=__version__,
author="xincoder",
author_email="xincoder@gmail.com",
description="Save code files into PDF format with syntax highlighting.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/xincoder/PDFCode",
packages=setuptools.find_packages(),
entry_points={
'console_scripts': ['pdfcode=PDFCode:main'],
},
install_requires=[
'pygments',
'pdfkit',
'file-magic',
'markdown',
'pyhtml2pdf',
],
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=2.7',
)