Skip to content

Instantly share code, notes, and snippets.

@EnigmaCurry
Created September 17, 2009 20:44
Show Gist options
  • Save EnigmaCurry/188700 to your computer and use it in GitHub Desktop.
Save EnigmaCurry/188700 to your computer and use it in GitHub Desktop.
How a single file python libary might use setuptools
from one_file import *
def hello():
print("hello, world!")
from setuptools import setup
setup(name='One File Lib',
version='0.1',
description='A single file setuptools example',
author='Ryan McGuire',
author_email='ryan@enigmacurry.com',
url='http://www.enigmacurry.com',
license='Public Domain',
packages=['one_file_lib'],
include_package_data = True
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment