Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Python Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tools
Python Toolbox
Merge requests
!19
Migrate to pyproject
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Migrate to pyproject
pyproject-migration
into
master
Overview
3
Commits
2
Pipelines
2
Changes
11
All threads resolved!
Hide all comments
Merged
Manon Blanco
requested to merge
pyproject-migration
into
master
9 months ago
Overview
3
Commits
2
Pipelines
2
Changes
1
All threads resolved!
Hide all comments
Expand
Closes
#8 (closed)
&
#9 (closed)
Edited
9 months ago
by
Manon Blanco
0
0
Merge request reports
Compare
version 1
version 1
8c84caea
9 months ago
master (base)
and
latest version
latest version
aa125b0d
2 commits,
9 months ago
version 1
8c84caea
1 commit,
9 months ago
Show latest version
1 file
+
7
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
8
−
11
Options
@@ -5,6 +5,7 @@ stages:
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
cache
:
paths
:
-
.cache/pip
@@ -54,24 +55,20 @@ tests:
release-pypi
:
stage
:
release
image
:
python:3
only
:
-
tags
environment
:
name
:
pypi
url
:
https://pypi.org/project/teklia-toolbox
before_script
:
-
pip install twine setuptools wheel
-
echo "[distutils]" > ~/.pypirc
-
echo "index-servers =" >> ~/.pypirc
-
echo " pypi" >> ~/.pypirc
-
echo "[pypi]" >> ~/.pypirc
-
echo "repository=https://upload.pypi.org/legacy/" >> ~/.pypirc
-
echo "username=$PYPI_RELEASE_USERNAME" >> ~/.pypirc
-
echo "password=$PYPI_RELEASE_PASSWORD" >> ~/.pypirc
-
pip install twine build
script
:
-
python
setup.py sdist bdist_wheel
-
twine upload dist/*
-r pypi
-
python
-m build
-
twine upload dist/*
release-notes
:
stage
:
release
@@ -91,4 +88,4 @@ bump-python-deps:
-
schedules
script
:
-
devops python-deps
requirements.txt
-
devops python-deps
pyproject.toml
Loading