Ludovic Guerra
Ludovic Guerra

Reputation: 350

Python create package for local use

I have three big project that are independant:

The communication protocol will be included in the interface user, and the interface user will be used in the user environment.

We are at work, so I cannot upload anything on internet.

I wanted to do package for each big project. And install thoses packages in the other project. But I cannot find a way to do it locally, without having to upload to Pypi or the equivalent for testing.

How can I create package-style project and include them to my other projects without using internet ?

Upvotes: 3

Views: 278

Answers (2)

plasmaTonic
plasmaTonic

Reputation: 345

I had a setup similar to your situation, and this solved it for me - creating a local regular package of your big project, which then allowed the sub-folders to see each other when importing.

Upvotes: 0

Jonathan Holmes
Jonathan Holmes

Reputation: 468

Documentation is your friend. You don't need to register your script on pypi, you can just run the setup script and install locally.

Upvotes: 1

Related Questions