Skip to content

Instantly share code, notes, and snippets.

@shaun-russell
Created October 24, 2018 03:19
Show Gist options
  • Save shaun-russell/be5be881211b5cdba0ac4970c562610a to your computer and use it in GitHub Desktop.
Save shaun-russell/be5be881211b5cdba0ac4970c562610a to your computer and use it in GitHub Desktop.
Python setup.py template
from setuptools import setup
setup(
name='EXEC_NAME',
version='1.0',
py_modules=['MAIN', 'FILE2'],
install_requires=['Click'],
entry_points='''
[console_scripts]
MAIN=MAIN:cli
'''
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment