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 setup.py file.

To be install the python package, just run:

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

or

pip install -e .

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

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

3. Others

MANIFEST.in
will include all the files needed (except the source code)
install_requires = []
will specify the dependent packages
entry_points={}
will be used for command line script
the function hooked here will be copied to the system path for calling
scripts=[]
will be used for command line scirpt as above
for example, export the bin/joke-scripts to system path for calling
include_package_data=True
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.

Source Distribution

funniesting-0.3.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file funniesting-0.3.tar.gz.

File metadata

  • Download URL: funniesting-0.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for funniesting-0.3.tar.gz
Algorithm Hash digest
SHA256 a712dab2a692cf855803732f8bcc1e21d2d32f4aec88af98392092adc8cd6ce4
MD5 b183fa973253956dd8ab1e1509a54d22
BLAKE2b-256 ef5ecf1adfabf7432dd805a4c8b946b6a6d806076ee671853c2d388dc7689608

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