forked from Pyomo/mpi-sppy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (32 loc) · 939 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
31
32
33
34
35
36
37
# This software is distributed under the 3-clause BSD License.
#!/bin/usr/env python3
import glob
import sys
import os
# We raise an error if trying to install with python2
if sys.version[0] == '2':
print("Error: This package must be installed with python3")
sys.exit(1)
from setuptools import find_packages
from distutils.core import setup
from pathlib import Path
packages = find_packages()
this_directory = Path(__file__).parent
long_description = (this_directory / "README.rst").read_text()
# intentionally leaving out mpi4py to help readthedocs
setup(
name='mpi-sppy',
version='0.12.dev0',
description="mpi-sppy",
long_description=long_description,
url='https://github.com/Pyomo/mpi-sppy',
author='David Woodruff',
author_email='[email protected]',
packages=packages,
python_requires='>=3.8',
install_requires=[
'numpy',
'scipy',
'pyomo>=6.4',
]
)