Closed ffyuanda closed 2 years ago
@Kininaru please review
@hsluoyz please review
@casbin-bot dude you are a real problem
@ffyuanda any update?
@hsluoyz I guess we need a separate repo for SDK example?
@hsluoyz Updated to use setup.cfg
for packaging.
@hsluoyz I guess we need a separate repo for SDK example?
@ffyuanda created: https://github.com/casdoor/casdoor-python-sdk-example please make PR to this repo
@ffyuanda your code is missing setup.py
, which is necessary for publishing: https://packaging.python.org/guides/distributing-packages-using-setuptools/
Can you first try to release it to pypi-test: https://test.pypi.org/ with a different name? Like ffyuanda-sdk? And make sure it works?
@hsluoyz I believe now setuptools
is trying to transition from setup.py
to setup.cfg
.
And yeah I will upload it to PyPi test later today to see the result.
@ffyuanda ok, can you give me a guide link to publish with setup.cfg?
@hsluoyz https://test.pypi.org/project/casdoor-sdk/0.0.2/ here is the test.pypi package uploaded. And setuptools has everything about packaging and distributing covered.
:tada: This PR is included in version 1.0.0 :tada:
The release is available on:
v1.0.0
Your semantic-release bot :package::rocket:
Signed-off-by: ffyuanda shaoxuan.yuan02@gmail.com