Skip to content

Commit 22a5bd5

Browse files
committed
Released version 0.2
1 parent 8695a52 commit 22a5bd5

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ PyCasbin
44
[![Build Status](https://www.travis-ci.org/casbin/pycasbin.svg?branch=master)](https://www.travis-ci.org/casbin/pycasbin)
55
[![Coverage Status](https://coveralls.io/repos/github/casbin/pycasbin/badge.svg)](https://coveralls.io/github/casbin/pycasbin)
66
[![Version](https://img.shields.io/pypi/v/casbin.svg)](https://pypi.org/project/casbin/)
7+
[![PyPI - Wheel](https://img.shields.io/pypi/wheel/casbin.svg)](https://pypi.org/project/casbin/)
78
[![Pyversions](https://img.shields.io/pypi/pyversions/casbin.svg)](https://pypi.org/project/casbin/)
89
[![Download](https://img.shields.io/pypi/dm/casbin.svg)](https://pypi.org/project/casbin/)
910
[![License](https://img.shields.io/pypi/l/casbin.svg)](https://pypi.org/project/casbin/)
1011
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/casbin/lobby)
11-
[![Patreon](https://img.shields.io/badge/patreon-donate-yellow.svg)](http://www.patreon.com/yangluo)
1212

1313
**News**: still worry about how to write the correct Casbin policy? ``Casbin online editor`` is coming to help! Try it at: http://casbin.org/editor/
1414

setup.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import setuptools
22

3-
with open("README.md", "r") as fh:
3+
desc_file = "README.md"
4+
5+
with open(desc_file, "r") as fh:
46
long_description = fh.read()
57

68
setuptools.setup(
79
name="casbin",
8-
version="0.1.1",
10+
version="0.2",
911
author="TechLee",
1012
author_email="techlee@qq.com",
1113
description="An authorization library that supports access control models like ACL, RBAC, ABAC in Python",
@@ -15,11 +17,16 @@
1517
keywords=["casbin", "rbac", "access control", "abac", "acl", "permission"],
1618
packages=setuptools.find_packages(),
1719
install_requires=['simpleeval>=0.9.8'],
18-
python_requires=">=3.6",
20+
python_requires=">=3.3",
21+
license="Apache 2.0",
1922
classifiers=[
23+
"Programming Language :: Python :: 3.3",
24+
"Programming Language :: Python :: 3.4",
25+
"Programming Language :: Python :: 3.5",
2026
"Programming Language :: Python :: 3.6",
2127
"Programming Language :: Python :: 3.7",
2228
"License :: OSI Approved :: Apache Software License",
2329
"Operating System :: OS Independent",
2430
],
31+
data_files=[desc_file],
2532
)

0 commit comments

Comments
 (0)