bugfix
This commit is contained in:
parent
e36c1ec5be
commit
95a95dc548
0
platformbiz/__init__.py
Normal file
0
platformbiz/__init__.py
Normal file
@ -1,3 +0,0 @@
|
|||||||
# git+https://git.kaiyuancloud.cn/yumoqing/rbac
|
|
||||||
# git+https://git.kaiyuancloud.cn/yumoqing/accounting
|
|
||||||
# git+https://git.kaiyuancloud.cn/yumoqing/pf_pay
|
|
||||||
52
setup.py
52
setup.py
@ -1,52 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from platformbiz.version import __version__
|
|
||||||
try:
|
|
||||||
from setuptools import setup
|
|
||||||
except ImportError:
|
|
||||||
from distutils.core import setup
|
|
||||||
required = []
|
|
||||||
with open('requirements.txt', 'r') as f:
|
|
||||||
ls = f.read()
|
|
||||||
required = ls.split('\n')
|
|
||||||
|
|
||||||
with open('platformbiz/version.py', 'r') as f:
|
|
||||||
x = f.read()
|
|
||||||
y = x[x.index("'")+1:]
|
|
||||||
z = y[:y.index("'")]
|
|
||||||
version = z
|
|
||||||
with open("README.md", "r") as fh:
|
|
||||||
long_description = fh.read()
|
|
||||||
|
|
||||||
name = "platformbiz"
|
|
||||||
description = "platformbiz"
|
|
||||||
author = "yumoqing"
|
|
||||||
email = "yumoqing@gmail.com"
|
|
||||||
|
|
||||||
package_data = {}
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name="platformbiz",
|
|
||||||
version=version,
|
|
||||||
|
|
||||||
# uncomment the following lines if you fill them out in release.py
|
|
||||||
description=description,
|
|
||||||
author=author,
|
|
||||||
author_email=email,
|
|
||||||
platforms='any',
|
|
||||||
install_requires=required ,
|
|
||||||
packages=[
|
|
||||||
"platformbiz"
|
|
||||||
],
|
|
||||||
package_data=package_data,
|
|
||||||
keywords = [
|
|
||||||
],
|
|
||||||
url="https://github.com/yumoqing/platformbiz",
|
|
||||||
long_description=long_description,
|
|
||||||
long_description_content_type="text/markdown",
|
|
||||||
classifiers = [
|
|
||||||
'Operating System :: OS Independent',
|
|
||||||
'Programming Language :: Python :: 3',
|
|
||||||
'License :: OSI Approved :: MIT License',
|
|
||||||
],
|
|
||||||
)
|
|
||||||
Loading…
x
Reference in New Issue
Block a user