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.0.1.tar.gz
(2.2 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.0.1.tar.gz.
File metadata
- Download URL: syspath-0.0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41556749462c45060343972239d76d281b172100a1ae5013cf9db7d1bc9d1fa9
|
|
| MD5 |
947c39d4af6e19cd960e2d2e6e3d9aba
|
|
| BLAKE2b-256 |
b5768b09b6679ca99efd72c5f99378886d8ec592459dfa103dd597a9b374fd04
|
File details
Details for the file syspath-0.0.1-py3-none-any.whl.
File metadata
- Download URL: syspath-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3484069098dc904ab5d8266665a421c67c76ddb8fb8ae0b6646c1488ce453d7
|
|
| MD5 |
5ab66780d7b3c76164fe91a4df81819c
|
|
| BLAKE2b-256 |
bc92e296e574f3f4e4a5dfb2061741522822b8d048cfa6bc45ac319a5e9b7dd8
|