forked from tushar-rishav/code2pdf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import sys
import os
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(name='Code2pdf',
version='1.0.0',
install_requires=[
r for r in open('requirements.txt', 'r').read().split('\n') if r],
author='Tushar Gautam',
author_email='[email protected]',
packages=['Code2pdf', ],
entry_points={
'console_scripts': ['code2pdf=Code2pdf:main'],
},
license='GNU General Public License v3 (GPLv3)',
url='https://github.com/tushar-rishav/code2pdf/',
description="Converts given source code into pdf file with syntax \
highlighting, line numbers and much more",
long_description=open('README').read(),
keywords=['pdf', 'markup',
'formatting', 'convert code to pdf', 'python'],
classifiers=[
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: System :: Monitoring'
],
)