Easily add common paths to sys.path
Project description
SysPath is a package to easily set common paths into sys.path. Instead of having to do a lot of path manipulation to properly import files, a file can import from SysPath instead.
Installation
pip install syspath
Usage
To append the current file’s directory to sys.path:
import syspath
syspath.append_current_path()
# or
from syspath import current_path
Development
pip install -r requirements-test.txt
coverage run setup.py test
coverage report
flake8
Publishing
pip install twine
python setup.py sdist bdist_wheel
twine upload dist/*
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
syspath-0.1.1.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file syspath-0.1.1.tar.gz.
File metadata
- Download URL: syspath-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33fccc8ef0a673af53eb69d97626cfddda918a08994d81ba1389cbf76103d3c9
|
|
| MD5 |
d19918782ff549bf267449cf6ab5dee4
|
|
| BLAKE2b-256 |
8ec2f818767417681f039fc543266466028b6a3ea3d3b58f443c68e098e872d1
|
File details
Details for the file syspath-0.1.1-py3-none-any.whl.
File metadata
- Download URL: syspath-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82275d3ce6c13c6fe9fc05d70870f4280847d2023e0a3b8d2ffe61b83b4fc922
|
|
| MD5 |
1955f60be9b8f783a5d4f97323176088
|
|
| BLAKE2b-256 |
0307b4e34324508155df3d3283c9758a14ce52165740845ff6f865459c33566b
|