forked from LLNL/letop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (44 loc) · 1.46 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
# -*- coding: utf-8 -*-
#
import codecs
import os
from setuptools import find_packages, setup
# https://packaging.python.org/single_source_version/
base_dir = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(base_dir, "letop", "__about__.py"), "rb") as f:
exec(f.read(), about)
def read(fname):
return codecs.open(os.path.join(base_dir, fname), encoding="utf-8").read()
setup(
name="letop",
version=about["__version__"],
packages=find_packages(),
author=about["__author__"],
author_email=about["__email__"],
install_requires=[
"numpy>=1.12.1",
"scipy>=0.19.1",
"cvxopt>=1.2.1",
"gmsh>=4.8.4",
"pygmsh>=6.1.0",
"pre-commit>=2.12.1",
"firedrake-ts @ git+https://github.com/IvanYashchuk/firedrake-ts.git",
],
description="A little bit of foobar in your life",
long_description=read("README.md"),
long_description_content_type="text/markdown",
license=about["__license__"],
classifiers=[
about["__license__"],
about["__status__"],
# See <https://pypi.org/classifiers/> for all classifiers.
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
],
python_requires=">=3",
entry_points={"console_scripts": ["letop-show = letop.cli:show"]},
)