add pyyaml as a requirement.txt

This commit is contained in:
jesopo 2020-03-23 16:54:05 +00:00
parent a3b55f6292
commit e3a7af789b
3 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@ python:
- "3.8"
- "3.8-dev"
install:
- pip3 install mypy
- pip3 install mypy -r requirements.txt
script:
- pip3 freeze
- mypy irctokens

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
pyyaml==5.3.1

View File

@ -4,6 +4,8 @@ with open("README.md", "r") as fh:
long_description = fh.read()
with open("VERSION", "r") as version_file:
version = version_file.read().strip()
with open("requirements.txt", "r") as requirements_file:
install_requires = requirements_file.read().splitlines()
setuptools.setup(
name="irctokens",
@ -25,4 +27,5 @@ setuptools.setup(
"Topic :: Communications :: Chat :: Internet Relay Chat"
],
python_requires='>=3.6'
install_requires=install_requires
)