Add setup.py

setup.py module makes it possible to install the my_first_calculator.py script into virtualenv.
This commit is contained in:
Sergey Vilgelm 2016-05-06 22:31:41 -07:00
parent d33b3752cd
commit 54b6d9fc34

19
setup.py Normal file
View File

@ -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'),
)