Created
November 19, 2014 22:15
-
-
Save ethanwhite/0056904ba5de217f5de2 to your computer and use it in GitHub Desktop.
Simple example of setup.py
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="UltimateAnswer", | |
version="0.1", | |
entry_points = {'console_scripts': ['ult-ans = ultimate_answer:main']}, | |
py_modules = ['ultimate_answer'] | |
) |
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 main(): | |
print "The ultimate answer to life the universe and everything is 42" | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment