From 54b6d9fc34a21a759e8f61c48ed55243f5642b01 Mon Sep 17 00:00:00 2001 From: Sergey Vilgelm Date: Fri, 6 May 2016 22:31:41 -0700 Subject: [PATCH] Add setup.py setup.py module makes it possible to install the my_first_calculator.py script into virtualenv. --- setup.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f4dcc92 --- /dev/null +++ b/setup.py @@ -0,0 +1,19 @@ +import os +from setuptools import setup + + +def read(fname): + return open(os.path.join(os.path.dirname(__file__), fname)).read() + + +setup( + name="my_first_calculator", + version="0.1", + author="Alexander Lewis", + author_email="info@acelewis.com", + description="This is my first calculator", + url="https://github.com/AceLewis/my_first_calculator.py", + packages=[], + py_modules=['my_first_calculator'], + long_description=read('README.md'), +)