-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
36 lines (32 loc) · 950 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
from setuptools import setup, find_packages
import os
import sys
def find_data_files(path):
data_files = []
for root, dirs, files in os.walk(path):
for filename in files:
data_files.append((root, [os.path.join(root, filename)]))
return data_files
def set_install_requires():
install_requires = ['Markdown']
if sys.version_info < (2, 7):
install_requires.append('argparse')
return install_requires
setup(
name='mcider',
version='0.3.0',
description='markdown converter for slideshow',
license='MIT',
url='http://ogom.github.com/python-mcider',
download_url='https://github.com/ogom/python-mcider',
author='ogom',
author_email='[email protected]',
include_package_data=True,
packages=find_packages(),
install_requires=set_install_requires(),
entry_points={
'console_scripts': [
'mcider = mcider.main:main',
],
},
)