Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
from pathlib import Path
from setuptools import setup
from typing import List
from tutorial_app.constants import VERSION
def parse_requirements(file_name: str = 'requirements.txt') -> List[str]:
file_path = Path(__file__).parent / file_name
with open(file_path, 'r') as requirements_file:
return [
line for line in requirements_file
if line and not line.strip().startswith(('-', '#'))
]
setup(
name='Tutorial-App',
version=VERSION,
packages=['tutorial_app'],
python_requires='>=3.6',
install_requires=parse_requirements(),
)