Skip to content

Commit

Permalink
first attempt at repository publish
Browse files Browse the repository at this point in the history
  • Loading branch information
velis74 committed Oct 17, 2023
1 parent f1f9df5 commit d7b7717
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d7b7717

Please sign in to comment.