diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eca2111..a17fe1d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,7 +79,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: '18' + node-version: '20' - name: Setup run: npm install -g semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/git @semantic-release/release-notes-generator semantic-release-pypi @@ -87,7 +87,7 @@ jobs: - name: Set up python uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: '3.12' - name: Install setuptools run: python -m pip install --upgrade setuptools wheel twine diff --git a/setup.py b/setup.py index 3559823..9cf7aed 100644 --- a/setup.py +++ b/setup.py @@ -27,26 +27,12 @@ setup( name="flask-authz", + author=["Yang Luo", "Sciencelogic"], + author_email="hsluoyz@gmail.com", description="An authorization middleware for Flask that supports ACL, RBAC, ABAC, based on Casbin", long_description=long_description, long_description_content_type="text/markdown", - author=["Yang Luo", "Sciencelogic"], - author_email="hsluoyz@gmail.com", url="https://github.com/pycasbin/flask-authz", - download_url="https://github.com/pycasbin/flask-authz/tarball/v" + download_v, - license="Apache 2.0", - python_requires=">=3.5", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "License :: OSI Approved :: Apache Software License", - "Operating System :: OS Independent", - ], keywords=[ "flask", "pycasbin", @@ -61,8 +47,20 @@ "permission", ], packages=find_packages(exclude=["docs", "tests*"]), + install_requires=install_requires, + python_requires=">=3.5", data_files=[desc_file], include_package_data=True, - install_requires=install_requires, dependency_links=dependency_links, + download_url="https://github.com/pycasbin/flask-authz/tarball/v" + download_v, + license="Apache 2.0", + classifiers=[ + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", + ], + )