Pipenv integration for setuptools.
Project description
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
setup
section of pipfile
- In
- How about my
README.md
orREADME.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
setup
from 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
setuptools
andPipenv
.
- Because I can and there isn't any good tool to integrate
- Examples?
- This repo is an example lmao.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
File details
Details for the file pipenv_publisher-0.1.0a7.post2-py3.9.egg
.
File metadata
- Download URL: pipenv_publisher-0.1.0a7.post2-py3.9.egg
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41dd1807ace96ba1df5e16febdacf4e0a1e8bb252f59c3253cb981c6d30f5825 |
|
MD5 | 58d3f97ec867839c2e56c4e611e458c2 |
|
BLAKE2b-256 | d5ef92ea19ff1257c20409ddcef5e1187b6b2d0a7a1a23b41e7526bada704629 |
File details
Details for the file pipenv_publisher-0.1.0a7.post2-py3-none-any.whl
.
File metadata
- Download URL: pipenv_publisher-0.1.0a7.post2-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bdfe4897aa2295c25b7cf63cf39f241b41764604be3bffbdb7ea425ae56163f |
|
MD5 | cee298ccafc2b00a8e83f7f390ee6dd5 |
|
BLAKE2b-256 | 727a75f1a437d6575f106b0a57b7e04440a9350d21f74a397b32a80f007f8632 |