A python automatically adds the current project sys Path tool
Project description
Auto sys path
A python automatically adds the current project sys Path tool
Use example:
example-project:
- package1
- init.py
- main.py
- package2
- init.py
- util.py
at main.py
import autosyspath
from package2.util import helloworld
helloworld()
You can run anywhere main.py without error.
example:
> cd /example-project && python package1/main.py
> cd / && python example-project/package1/main.py
> cd /example-project/package1 && python main.py
that's all ok.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
toautosyspath-0.0.1.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for toautosyspath-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b359168582ab62860f4fa9ceeff1893d3f4fb03f6c8f9163d41f471c139fe23 |
|
MD5 | aac2bd77aefc9416d636cad3d474c15f |
|
BLAKE2b-256 | ae1ec745db22d6c266d07abbd1f99b839c3d5a17e6435d946f0728b3307c0f57 |