Skip to content

Commit

Permalink
added setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hofiorg committed Mar 15, 2024
1 parent dd1fd66 commit 0e50acd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ myenv/
.pytest_cache
.coverage
junit/
.DS_Store
.DS_Store
*.egg-info/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ source myenv/bin/activate
pip install pylint
pip install requests
pip install pytest pytest-cov pytest-html
pip install -e .
```

### Lint
Expand Down
9 changes: 9 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"""check_urls, hello_world and other stuff."""
from setuptools import setup, find_packages

setup(
name="python_scripts",
version="0.1",
packages=find_packages(),
scripts=['check_urls.py', 'hello_world.py', 'filter_lambda.py'],
)
3 changes: 0 additions & 3 deletions tests/test_check_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
from io import StringIO
import json
import sys
import os
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
# pylint: disable=wrong-import-position
import check_urls

class TestCheckUrls(unittest.TestCase):
Expand Down

0 comments on commit 0e50acd

Please sign in to comment.