-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (35 loc) · 950 Bytes
/
setup.py
File metadata and controls
40 lines (35 loc) · 950 Bytes
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
#!/usr/bin/env python
from ynm3k import __VERSION__
long_description = ""
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except:
pass
sdict = {
'name': 'ynm3k',
'version': __VERSION__,
'packages': ['ynm3k',
'ynm3k.contrib',
'ynm3k.modules'],
'scripts': ['y3k'],
'zip_safe': False,
'install_requires': ['six', 'requests', 'hjson'],
'extras_require': {
'full': ['bs4', 'paste']
},
'author': 'Lichun',
'long_description': long_description,
'url': 'https://github.com/socrateslee/ynm3k',
'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)