Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Very basic python packaging
`#!/usr/bin/env python`
```
print "Hello World"
```
```
from setuptools import setup
setup(
name='my-awesome-helloworld-script', # This is the name of your PyPI-package.
version='0.1', # Update the version number for new releases
scripts=['helloworld'] # The name of your scipt, and also the command you'll be using for calling it
)
```
```
$ python setup.py register sdist upload
```
...
```
$ pip install my-awesome-helloworld-script
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.