Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Distributing my python module inside organization

I made some modules in python, and I want to distributed them inside my organization. These modules are already stored in BitBucket.

Is there any way to distribute them using "pip install" for example?

What is the correct way?

like image 764
p.magalhaes Avatar asked Oct 31 '22 13:10

p.magalhaes


1 Answers

You can pip install from GitHub and you should be able to do so (not verified) from Bitbucket since it uses git as well.

pip install git+ssh://[email protected]/my_username/my_repo.git@tagnumber

For private repos see:

Is it possible to use pip to install a package from a private github repository?

You could just add the ssh keys in the right places to make it work.

Another option would be to run your own git remote instance on a server within your organization which might prevent the hassle of authentication for your colleagues.

like image 90
Falk Schuetzenmeister Avatar answered Nov 09 '22 07:11

Falk Schuetzenmeister