-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
36 lines (25 loc) · 847 Bytes
/
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
import os
import sys
from setuptools import setup, find_packages
if sys.argv[-1] == 'publish':
sys.exit(os.system('python setup.py sdist upload'))
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='mdtogh',
version='0.0.9',
packages=find_packages(),
#install requirements
install_requires=read('requirements.txt'),
package_data={'mdtogh': ['templates/*']},
include_package_data=True,
entry_points={'console_scripts': ['mdtogh = mdtogh.command:main']},
zip_safe=False,
author='Summer Ruan',
author_email='[email protected]',
description='Transform markdown files into html with styles of github',
long_description=read('descriptions.rst'),
url='http://github.com/marchtea/mdtogh',
platforms='any',
)