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.0.tar.gz
(2.4 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.0.tar.gz.
File metadata
- Download URL: syspath-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8aa60e1d15166326a5181dedac50f484a976651f1833285835ec582a2429fa6
|
|
| MD5 |
f1df6706460af2ed45f9b5033c50fec4
|
|
| BLAKE2b-256 |
43e4c59cef60b141e1203491e78e909dd2055000d7a929a67685f43a1011751a
|
File details
Details for the file syspath-0.1.0-py3-none-any.whl.
File metadata
- Download URL: syspath-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
458aac15eb2506447e44e3d60236844f2962fa3f5c711a01e486cd1b4c24ce5f
|
|
| MD5 |
ebd1d73597a3b7f04a7ebcbdcff34b8c
|
|
| BLAKE2b-256 |
a01650128e49202c433cb31b0116cb0e313d85bde7d930dfb46d252629e898d8
|