Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
email
Commits
2f4d82c2ae0b
Commit
a80af462
authored
Dec 01, 2020
by
Laurent Peuch
Browse files
chore(tox): add pypi-publish
parent
6f47aa24f687
Changes
1
Hide whitespace changes
Inline
Side-by-side
tox.ini
View file @
2f4d82c2
...
...
@@ -6,3 +6,18 @@ sitepackages = True
deps
=
-rrequirements-test.txt
commands
=
{envpython}
-c
'from
logilab.common
import
pytest
; pytest.run()' -t test {posargs}
[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