-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
35 lines (32 loc) · 964 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
from setuptools import setup
from distutils.sysconfig import get_python_lib
from distutils.version import StrictVersion
import os, platform
try:
long_description = open('README.md').read()
except:
long_description = u"Blog generator for hackers."
prefix = ''
if StrictVersion('15.0.0') > StrictVersion(platform.release()):
prefix = get_python_lib()
platform.release()
setup(
name='micropress',
version='0.2.22',
author='Oleksandr Glushchenko',
author_email='[email protected]',
url='https://github.com/glushchenko/micropress',
scripts = ['micropress'],
data_files= [(prefix + '/micropress/%s' % (x[0]), map(lambda y: x[0]+'/'+y, x[2])) for x in os.walk('init/')],
license='LICENSE.txt',
description='Blog generator for hackers.',
long_description=long_description,
install_requires=[
'Jinja2',
'markdown',
'Werkzeug',
'watchdog',
's3cmd',
'Pillow'
],
)