Skip to content

Commit 54b6d9f

Browse files
committed
Add setup.py
setup.py module makes it possible to install the my_first_calculator.py script into virtualenv.
1 parent d33b375 commit 54b6d9f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

setup.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import os
2+
from setuptools import setup
3+
4+
5+
def read(fname):
6+
return open(os.path.join(os.path.dirname(__file__), fname)).read()
7+
8+
9+
setup(
10+
name="my_first_calculator",
11+
version="0.1",
12+
author="Alexander Lewis",
13+
author_email="[email protected]",
14+
description="This is my first calculator",
15+
url="https://github.com/AceLewis/my_first_calculator.py",
16+
packages=[],
17+
py_modules=['my_first_calculator'],
18+
long_description=read('README.md'),
19+
)

0 commit comments

Comments
 (0)