Skip to content

Commit c3ced4c

Browse files
committed
Publishing Python packages using Twine
1 parent 36e011d commit c3ced4c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

python-example/pip-example/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Output JFrog CLI version:
4444
Configure Artifactory:
4545
> jf c add --url=<JFROG_PLATFORM_URL> [credentials flags]
4646

47-
Configure the project's resolution repository. You shoud set the virtual repository you created.
48-
> jf pip-config --repo-resolve=<PYPI_REPO>
47+
Configure the project's resolution repository.
48+
> jf pip-config --repo-resolve=<PYPI_REPO> --repo-deploy=<PYPI_REPO>
4949

5050
Install project dependencies with pip from Artifactory:
5151

@@ -59,7 +59,7 @@ Package the project, create distribution archives (tar.gz and whl):
5959
> python setup.py sdist bdist_wheel
6060

6161
Upload the packages to the pypi repository in Artifactory:
62-
> jf rt u dist/ pypi/ --build-name=my-pip-build --build-number=1 --module=jfrog-python-example
62+
> jf twine upload dist/* --build-name=my-pip-build --build-number=1 --module=jfrog-python-example
6363

6464
Collect environment variables and add them to the build info:
6565
> jf rt bce my-pip-build 1

python-example/pipenv-example/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Output JFrog CLI version:
3535
Configure Artifactory:
3636
> jf c add
3737

38-
Configure the project's resolution repository. You shoud set the virtual repository you created.
39-
> jf pipenv-config --repo-resolve=<PYPI_REPO> [credentials flags]
38+
Configure the project's resolution repository.
39+
> jf pipenv-config --repo-resolve=<PYPI_REPO> --repo-deploy=<PYPI_REPO>
4040

4141
Install project dependencies with pipenv from Artifactory:
4242
> jf pipenv install --build-name=my-pipenv-build --build-number=1 --module=jfrog-pipenv-example
@@ -45,7 +45,7 @@ Package the project, create distribution archives (tar.gz and whl):
4545
> python setup.py sdist bdist_wheel
4646

4747
Upload the packages to the pypi repository in Artifactory:
48-
> jf rt u dist/ pypi/ --build-name=my-pipenv-build --build-number=1 --module=jfrog-pipenv-example
48+
> jf twine upload dist/* --build-name=my-pipenv-build --build-number=1 --module=jfrog-pipenv-example
4949

5050
Collect environment variables and add them to the build info:
5151
> jf rt bce my-pipenv-build 1

0 commit comments

Comments
 (0)