-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (65 loc) · 2.22 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import os
from setuptools import setup, find_packages
if __name__ == "__main__":
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
meta = {}
base_dir = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(base_dir, 'haskpy', '_meta.py')) as fp:
exec(fp.read(), meta)
setup(
name="haskpy",
author=meta["__author__"],
author_email=meta["__contact__"],
description="Utilities inspired by Haskell and Hask category",
project_urls={
"Homepage": "https://github.com/jluttine/haskpy",
"Download": "https://pypi.org/project/haskpy/",
"Documentation": "https://jluttine.github.io/haskpy/",
"Bug reports": "https://github.com/jluttine/haskpy/issues",
"Contributing": "https://github.com/jluttine/haskpy/pulls",
"Forum": "https://github.com/jluttine/haskpy/discussions",
},
packages=find_packages(),
use_scm_version=True,
setup_requires=[
"setuptools_scm",
],
install_requires=[
"attrs",
"importlib_metadata",
"hypothesis",
],
extras_require={
"dev": [
"pytest",
],
"doc": [
"sphinx",
"numpydoc",
],
},
keywords=[
"functional programming",
"category theory",
"Hask category",
"Haskell",
"functor",
"applicative",
"monad",
"monoid",
],
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: {0}".format(meta["__license__"]),
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
],
long_description=read('README.md'),
long_description_content_type="text/markdown",
)