Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 31 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
from setuptools import setup, find_packages
import setuptools

setup(
name='casbin-django-orm-adapter',
desc_file = "README.md"

with open(desc_file, "r") as fh:
long_description = fh.read()

setuptools.setup(
name="django-orm-adapter",
version="0.0.1",
packages=find_packages(),
license="Apache-2.0",
)
author="TechLee",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change author to Yang Luo.

author_email="techlee@qq.com",
description="Django ORM Adapter is the Django's ORM adapter for PyCasbin. With this library, Casbin can load policy from Django ORM supported database or save policy to it.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/pycasbin/django-orm-adapte",
keywords=["casbin", "acl", "rbac", "abac", "auth", "authz", "adapter","djang-orm","authorization", "access control", "permission"],
packages=setuptools.find_packages(exclude=("tests",)),
install_requires=['simpleeval>=0.9.10'],
python_requires=">=3.3",
license="Apache 2.0",
classifiers=[
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
data_files=[desc_file],
)