Skip to content

AlbyST/python-package-test-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Package Test Repo

Python Package Test Repo to test pip installation from GitHub

Install from GitHub

Use the following command to install from git:

pip3 install git+https://github.com/albyst/python-package-test-repo

It is also possible to specify a “git ref” such as branch name, a commit hash or a tag name (more info can be found in official documentation):

MyProject @ git+https://git.example.com/MyProject.git@master
MyProject @ git+https://git.example.com/[email protected]
MyProject @ git+https://git.example.com/MyProject.git@da39a3ee5e6b4b0d3255bfef95601890afd80709
MyProject @ git+https://git.example.com/MyProject.git@refs/pull/123/head

Then you can import and use the test package:

import python_test_package

python_test_package.extremely_useful_function()

Testing

Testing uses tox, so you need to install it first:

pip3 install tox

then you can run tests defined under the tests directory by issuing the command:

tox

About

Python Package Test Repo to test pip installation from git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages