forked from charlesthomas/magpie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (41 loc) · 1.29 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
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env python
from setuptools import setup
NAME = 'magpie'
DESCRIPTION = 'magpie: [ma]rkdown, [g]it, [pie]thon'
VERSION = open('VERSION').read().strip()
LONG_DESC = open('README.rst').read()
LICENSE = open('LICENSE').read()
REQUIREMENTS = [open('requirements.txt').readlines()]
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.7',
]
PACKAGES=['magpie', 'magpie/config', 'magpie/handler', 'magpie/static',
'magpie/template']
PACKAGE_DATA={'magpie': ['config/*.cfg', 'static/*', 'template/*.html']}
SCRIPTS=['utils/pdf_scraper.py', 'utils/email_notes.py']
setup(
name=NAME,
version=VERSION,
author='Charles Thomas',
author_email='[email protected]',
url='https://github.com/charlesthomas/%s' % NAME,
license=LICENSE,
description=DESCRIPTION,
long_description=LONG_DESC,
classifiers=CLASSIFIERS,
install_requires=REQUIREMENTS,
packages=PACKAGES,
package_data=PACKAGE_DATA,
scripts=SCRIPTS,
test_suite='tests',
entry_points='''
[console_scripts]
magpie = magpie.server:main
''',
)