-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (32 loc) · 977 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
#!/usr/bin/env python
#from setuptools import setup
# from distutils.core import setup
from distutils.core import setup
import os,glob,sys
config = dict(
name='luck',
version = '0.0.8',
packages=['luck'],
include_package_data=True,
license='MIT',
author='Feng Geng',
author_email='[email protected]',
long_description=open('README.md').read(),
# python_requires = '>=3.6',
classifiers = [
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.7',
],
install_requires=[
x.strip() for x in open("requirements.txt","r")
if x.strip() and not x.strip().startswith("#")
],
entry_points={
"console_scripts": [
"pyluck=luck.cli:luck_main",
"pyluckmake=luck.luck_build_main:luck_build_main",
]},
)
# assert sys.version_info >= (3,5),('Requires python>=3.5, found python==%s'%('.'.join([str(x) for x in sys.version_info[:3]])))
setup(**config)
# if __name__ == '__main__':