Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
squareui
Commits
d4dff1b8354f
Commit
1904d4ee
authored
Nov 10, 2020
by
Laurent Peuch
Browse files
chore(tox): add pypi-publish
parent
dfde01890c6c
Pipeline
#20346
passed with stage
in 2 minutes and 19 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tox.ini
View file @
d4dff1b8
...
...
@@ -32,4 +32,19 @@ skip_install = true
deps
=
check-manifest
commands
=
{envpython}
-m
check_manifest
{toxinidir}
\ No newline at end of file
{envpython}
-m
check_manifest
{toxinidir}
[testenv:pypi-publish]
basepython
=
python3
skip_install
=
true
whitelist_externals
=
rm
deps
=
twine
passenv
=
TWINE_USERNAME
TWINE_PASSWORD
commands
=
rm
-rf
build
dist
.egg
.egg-info
python3
setup.py
sdist
bdist_wheel
twine
check
dist/*
twine
upload
--skip-existing
dist/*
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment