Skip to main content

Pypackage looks to package python without writing a setup.py

Project description

Pypackage is a collection of python packaging applications including:

py-build py-develop py-install py-setup py-test

The main goal of Pypackage is to make python packaging easier and faster.

Wouldn’t it be nice if you could just write some python, run a command, and have a distributable package? Well now you can!

# Example, “Hello World” application:

`bash $ mkdir hello_world $ cd hello_world $ vim hello_world.py # write your python here... :) $ py-build -is `

The py-build -is command will take you through an interactive py-build session and save the setup.py to disk after creating it, but will not run it.

You can also use the py-setup command at any time to print what Pypackage would use as a setup.py in the current directory’s context.

Metadata can be mixed in with site-wide defaults from $HOME/.pypackage if you want to fill in some common attributes for all your projects.

Pypackage also provides three different test runners to automatically find and run your tests with python setup.py test, you can use any of pytest, nose or unittest.

To be clear though: pypackage does not intend on replacing setuptools, pip, or really anything at all in the python packaging tool-chain, it only attempts to compliment those utilities and make getting started with python packaging a little easier.

In my utopian perfect dream world, I’d see projects not having a setup.py under source control, instead only a static metadata file, then having the inverse relationship being true in the distribution version of the package.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypackage-0.0.3.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypackage-0.0.3-py2.py3-none-any.whl (29.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pypackage-0.0.3.tar.gz.

File metadata

  • Download URL: pypackage-0.0.3.tar.gz
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypackage-0.0.3.tar.gz
Algorithm Hash digest
SHA256 140071c79395e1c3c7628c1126b4ef45ff8d4611bde7222b92fe208051a75b92
MD5 839ddd8b48995f5cdc18bc9088d4db88
BLAKE2b-256 890a5418474572f0c61081026861a80ecfc43d7d3f4b2edf0b2cd1abb1dcc46e

See more details on using hashes here.

File details

Details for the file pypackage-0.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pypackage-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e3d1c45adfef6f90cb224621aba192b02cc6f60ddb4f62a734ecd666d6884af6
MD5 cfe7802d7b3f97db528d91e1096b3e06
BLAKE2b-256 ae5fd6b106bcb3a651e7beda80da69b63b57b4830c79d8a8e32e5db7330ff852

See more details on using hashes here.

Supported by

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