Compare commits
No commits in common. "ce24dc4b90b9bf16e4f9b01ef86068636fa53345" and "8a90acfaf0ab67cd7f71f273cc20fb08b97c7869" have entirely different histories.
ce24dc4b90
...
8a90acfaf0
52
setup.py
52
setup.py
@ -1,52 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from rbac.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('rbac/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 = "rbac"
|
|
||||||
description = "rbac"
|
|
||||||
author = "yumoqing"
|
|
||||||
email = "yumoqing@gmail.com"
|
|
||||||
|
|
||||||
package_data = {}
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name="rbac",
|
|
||||||
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=[
|
|
||||||
"rbac"
|
|
||||||
],
|
|
||||||
package_data=package_data,
|
|
||||||
keywords = [
|
|
||||||
],
|
|
||||||
url="https://github.com/yumoqing/rbac",
|
|
||||||
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…
Reference in New Issue
Block a user