-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathsetup.py
43 lines (39 loc) · 1.12 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
import os
import warnings
from setuptools import setup
cur_dir = os.path.dirname(__file__)
readme_file = os.path.join(cur_dir, 'README.md')
with open(readme_file) as fh:
readme = fh.read()
try:
from scout import __version__ as scout_version
except ImportError:
scout_version = '0.0.0'
warnings.warn('Unable to determine scout library version!')
setup(
name='scout',
version=scout_version,
url='http://github.com/coleifer/scout/',
license='MIT',
author='Charles Leifer',
author_email='[email protected]',
description='scout - a lightweight search server powered by SQLite',
packages=['scout'],
zip_safe=False,
platforms='any',
install_requires=[
'flask',
'peewee>=3.0.0'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'],
py_modules=['scout_client'],
test_suite='scout.tests',
entry_points="""
[console_scripts]
scout=scout.server:main
""",
)