-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
39 lines (34 loc) · 921 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
37
38
39
#!/usr/bin/env python
from sonq import __VERSION__
long_description = ""
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except:
pass
sdict = {
'name': 'sonq',
'version': __VERSION__,
'packages': ['sonq'],
'zip_safe': False,
'install_requires': ['six', 'pymongo'],
'author': 'Lichun',
'long_description': long_description,
'url': 'https://github.com/socrateslee/sonq',
'entry_points': {
'console_scripts': [
'sonq=sonq.cmd:main',
]
},
'classifiers': [
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python']
}
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if __name__ == '__main__':
setup(**sdict)