Skip to main content

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


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)

Uploaded Source

Built Distribution

toautosyspath-0.0.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page