|
1 | 1 | import setuptools |
2 | 2 |
|
3 | | -with open("README.md", "r") as fh: |
| 3 | +desc_file = "README.md" |
| 4 | + |
| 5 | +with open(desc_file, "r") as fh: |
4 | 6 | long_description = fh.read() |
5 | 7 |
|
6 | 8 | setuptools.setup( |
7 | 9 | name="casbin", |
8 | | - version="0.1.1", |
| 10 | + version="0.2", |
9 | 11 | author="TechLee", |
10 | 12 | author_email="techlee@qq.com", |
11 | 13 | description="An authorization library that supports access control models like ACL, RBAC, ABAC in Python", |
|
15 | 17 | keywords=["casbin", "rbac", "access control", "abac", "acl", "permission"], |
16 | 18 | packages=setuptools.find_packages(), |
17 | 19 | install_requires=['simpleeval>=0.9.8'], |
18 | | - python_requires=">=3.6", |
| 20 | + python_requires=">=3.3", |
| 21 | + license="Apache 2.0", |
19 | 22 | classifiers=[ |
| 23 | + "Programming Language :: Python :: 3.3", |
| 24 | + "Programming Language :: Python :: 3.4", |
| 25 | + "Programming Language :: Python :: 3.5", |
20 | 26 | "Programming Language :: Python :: 3.6", |
21 | 27 | "Programming Language :: Python :: 3.7", |
22 | 28 | "License :: OSI Approved :: Apache Software License", |
23 | 29 | "Operating System :: OS Independent", |
24 | 30 | ], |
| 31 | + data_files=[desc_file], |
25 | 32 | ) |
0 commit comments