-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
30 lines (26 loc) · 837 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import os
from setuptools import setup, find_packages
def get_requirements():
""" Get requirements from the requirements.txt """
dirname = os.path.dirname(os.path.realpath(__file__))
requirements_file = os.path.join(dirname, "requirements.txt")
with open(requirements_file, "r") as f:
requirements = f.read().splitlines()
return requirements
setup(
name="pycats",
version="0.1.0",
description="Typeclasses and categories for Python.",
author="Kyle Kosic",
author_email="[email protected]",
url="https://github.com/kykosic/pycats",
python_requires=">=3.6.8",
packages=find_packages(exclude=["pycats/tests", "examples", "scripts"]),
install_requires=get_requirements(),
extras_require={
"dev": [
"pytest",
"flake8"
]
}
)