Created
September 17, 2009 20:44
-
-
Save EnigmaCurry/188700 to your computer and use it in GitHub Desktop.
How a single file python libary might use setuptools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from one_file import * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def hello(): | |
print("hello, world!") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from setuptools import setup | |
setup(name='One File Lib', | |
version='0.1', | |
description='A single file setuptools example', | |
author='Ryan McGuire', | |
author_email='[email protected]', | |
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