Skip to main content

The funniest joke in the world

Project description

This repo is used to demonstrate the python packaging and distribution by using setuptools

python 2 is focused


Key points:

1. By using the setuptools/setup, python packaging could be performed by editing the
simple file.

To be install the python package, just run:

pip install . #### to use pip3 in python3 env


pip install -e .

2. Setuptools has easy way to distribute the package via PyPI

python register ## used to register on PyPi and upload
python sdist upload ## package name should be unique in PyPi

3. Others
will include all the files needed (except the source code)
install_requires = []
will specify the dependent packages
will be used for command line script
the function hooked here will be copied to the system path for calling
will be used for command line scirpt as above
for example, export the bin/joke-scripts to system path for calling
will enable the copy of other non-sourcecode file during installation

Project details

Download files

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

Files for funniesting, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size funniesting-0.3.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page