Pre-release
This release is a pre-release and may not be stable for production use.
Pipenv integration for setuptools.
Install
From pypi
pipenv install pipenv-publisher
From git
pipenv install https://github.com/kpostekk/pipenv-publisher.git#egg=publisher
Initialise in your project
pipenv-pub setuptools setup
After this, remember to update package's meta in Pipfile!
Usage
Sync version
pipenv-pub stamp . # or pipenv run stamp
You can replace dot with package name
Remember to add this into your __init__.py
from mypkg._version import __version__, __author__
Tip: in PyCharm you can enable file watcher to automate this task.
Lock before build
pipenv-pub setuptools lock # or pipenv run pub setuptools lock
FAQ
- Where I should define all setuptools's stuff?
- In
setupsection of pipfile
- In
- How about my
README.mdorREADME.rst, where I should declare it?- Nowhere! It's magiaclly detected and added to setuptools.
- What is
setup-lock.json- This a file with, peresistent lock of section
setupfrom Pipfile. It has all configuration forsetup.py, includinginstall_requires. It shouldn't be in.gitignore
- This a file with, peresistent lock of section
- Can I still use
setup.cfg- Yes.
- Why does it exist?
- Because I can and there isn't any good tool to integrate
setuptoolsandPipenv.
- Because I can and there isn't any good tool to integrate
- Examples?
- This repo is an example lmao.
Metadata
Release files for pipenv-publisher 0.1.0a7.post2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pipenv_publisher-0.1.0a7.post2-py3.9.egg | Legacy Egg format | - | - | Details |
| pipenv_publisher-0.1.0a7.post2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.4 kB
Release files / pipenv_publisher-0.1.0a7.post2-py3.9.egg
| Download URL | pipenv_publisher-0.1.0a7.post2-py3.9.egg |
|---|---|
| Size | 7.7 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
41dd1807ace96ba1df5e16febdacf4e0a1e8bb252f59c3253cb981c6d30f5825
|
|
BLAKE2b-256 checksum How to use checksums |
d5ef92ea19ff1257c20409ddcef5e1187b6b2d0a7a1a23b41e7526bada704629
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / pipenv_publisher-0.1.0a7.post2-py3-none-any.whl
| Download URL | pipenv_publisher-0.1.0a7.post2-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2bdfe4897aa2295c25b7cf63cf39f241b41764604be3bffbdb7ea425ae56163f
|
|
BLAKE2b-256 checksum How to use checksums |
727a75f1a437d6575f106b0a57b7e04440a9350d21f74a397b32a80f007f8632
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|