Skip to content

Commit 4a2926e

Browse files
committed
[core] Add setup.py
1 parent d4b9010 commit 4a2926e

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ install:
55
- pip install -r requirements.txt
66
script:
77
- cd final_task
8+
- pip install .
89
- coverage run -m unittest discover
910
- pycodestyle --max-line-length=120 .
1011
- python ./../pycalc_checker.py

final_task/setup.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from setuptools import setup, find_packages
2+
3+
setup(
4+
name='pycalc',
5+
version='0.1',
6+
author='Elena Volkova',
7+
author_email='[email protected]',
8+
description='Python command-line calculator',
9+
packages=find_packages(),
10+
scripts=['pycalc']
11+
)

pycalc_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from termcolor import colored
66

77

8-
PYCALC_UTIL_NAME = "./pycalc"
8+
PYCALC_UTIL_NAME = "pycalc"
99
RETURN_CODE = 0
1010

1111

0 commit comments

Comments
 (0)