From d7b771735b52ce33f9979648c89284edb13db550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20Erzno=C5=BEnik?= Date: Tue, 17 Oct 2023 09:56:35 +0200 Subject: [PATCH] first attempt at repository publish --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2b02b130..36d78fb0 100755 --- a/setup.py +++ b/setup.py @@ -61,8 +61,9 @@ def get_version(version_arg): write_ver_to_init("package.json", version_str, '"version": ', ' "version": "%s",\n') os.system("npm run build") + os.system("npm publish --access=public") + os.system("rm -rf build && rm -rf dist && rm -rf django_project_base.egg-info") - os.system("npm publish") os.system("python setup.py sdist bdist_wheel") # if you don't like to enter username / pass for pypi every time, run this command: # keyring set https://upload.pypi.org/legacy/ username (it will ask for password)