Skip to main content

Pipenv integration for setuptools.

Project description

Pipenv publisher

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 setup

After this, remember to update package 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 lock # or pipenv run slock 

FAQ

  • Where I should define all setuptools's stuff?
    • In setup section of pipfile
  • How about my README.md or README.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 for setup.py, including install_requires. It shouldn't be in .gitignore
  • Can I still use setup.cfg
    • Yes.
  • Why does it exist?
    • Because I can and there isn't any good tool to integrate setuptools and Pipenv.
  • Examples?
    • This repo is an example lmao.

Project details


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 Distribution

pipenv_publisher-0.1.0a7-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file pipenv_publisher-0.1.0a7-py3-none-any.whl.

File metadata

  • Download URL: pipenv_publisher-0.1.0a7-py3-none-any.whl
  • Upload date:
  • Size: 12.6 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

Hashes for pipenv_publisher-0.1.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 f58986beef9c3be2de8f19c0f55051a5f8338ff97a5a6142df57ca0b4f1ecc35
MD5 c9982500d39951de2b2528a448da76cf
BLAKE2b-256 b639d68cdf572bcce09650f3043a5e2e86c4e703162e5da908581e2c3ed50b2e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page