Commit 5e0f6caa authored by Marco Govoni's avatar Marco Govoni
Browse files

Added setup.py, now make requires PYT=

parent 9ebc944a
......@@ -2,7 +2,11 @@
default: all
pytools: \
pytools_do
wstat: \
pytools_do \
libraries_do \
modules_do \
tools_do \
......@@ -24,10 +28,16 @@ wfreq \
westpp_do
all: \
pytools \
wstat \
wfreq \
westpp
pytools_do:
if test -d Pytools ; then \
( cd Pytools ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \
else $(MAKE) $(MFLAGS) all ; fi ) ; fi
libraries_do:
if test -d Libraries ; then \
( cd Libraries ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \
......@@ -89,6 +99,7 @@ westpp_do:
else $(MAKE) $(MFLAGS) all ; fi ) ; fi
clean: \
pytools_undo \
libraries_undo \
modules_undo \
tools_undo \
......@@ -102,6 +113,11 @@ wstat_undo \
wfreq_undo \
westpp_undo
pytools_undo:
if test -d Pytools ; then \
( cd Pytools ; if test "$(MAKE)" = "" ; then make clean ; \
else $(MAKE) clean ; fi ) ; fi
libraries_undo:
if test -d Libraries ; then \
( cd Libraries ; if test "$(MAKE)" = "" ; then make clean ; \
......
#PYT=python3
all: \
install
install:
- ${PYT} setup.py install --user --prefix= --record files.txt
clean:
- rm -rf west.egg-info
- rm -rf build
- rm -rf dist
- rm files.txt
from setuptools import setup
from setuptools import find_packages
setup(name="west",
version="4.1.0",
packages=find_packages(),
description='installation script for WEST',
url='https://west-code.org',
author='Marco Govoni',
author_email='mgovoni@anl.gov',
license='GPLv3',
install_requires=[
'numpy',
'scipy',
'matplotlib',
'pyyaml',
'datetime',
'setuptools'
],
python_requires='>=3.6, <4',
zip_safe=True)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment