-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
84 lines (70 loc) · 1.91 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# -*- coding: utf-8 -*-
from __future__ import print_function
import os.path
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
def readme():
try:
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
return f.read()
except (IOError, OSError):
return ''
install_requires = {
# Module 'seektam.db'
'cssselect >= 0.9.1',
'lxml >= 3.4.0',
'requests >= 2.4.1',
# Entity classes
'SQLAlchemy >= 0.9.0',
'alembic >= 0.6.0',
# Configuration
'PyYAML >= 3.10',
# Web
'Flask >= 0.10',
'Werkzeug >= 0.9',
# CLI
'click >= 3.3',
}
tests_require = {
'pytest >= 2.5.0',
}
docs_require = {
'Sphinx >= 1.2',
}
cmdclass = {}
setup(
name='Seektam-web',
description=u'스노인의 서비스 Seektam의 웹 프로그램',
long_description=readme(),
author='LeafDev',
url='http://seektam.kr/',
packages=find_packages(exclude=['tests']),
zip_safe=False,
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'docs': docs_require,
'tests': tests_require
},
entry_points='''
[console_scripts]
seektam = seektam.cli:main
''',
cmdclass=cmdclass,
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Web Environment',
'Intended Audience :: End Users/Desktop',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Documentation',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application'
]
)