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
addressbook
Commits
27eef87210d2
Commit
997fe051
authored
Nov 04, 2020
by
Laurent Peuch
Browse files
chore(tox): add pypi-publish
parent
c02f0ea07d7d
Pipeline
#21327
passed with stage
in 1 minute and 15 seconds
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
tox.ini
View file @
27eef872
...
...
@@ -23,3 +23,18 @@ commands = flake8
[flake8]
max-line-length
=
120
exclude
=
cubicweb_addressbook/migration/*,.tox/*,
[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
Markdown
is supported
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