summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python/setup-fista.py
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2018-01-23 22:39:25 +0000
committerEdoardo Pasca <edo.paskino@gmail.com>2018-01-23 22:45:21 +0000
commitd9018e42490a803fa59678c85bd679c3e5bcbd4e (patch)
tree02b16704387ca8172cd8b57b1504b3cd14104217 /Wrappers/Python/setup-fista.py
parenta6b0f58b6afa0f0f10cf944b1660ef774da441f2 (diff)
downloadregularization-d9018e42490a803fa59678c85bd679c3e5bcbd4e.tar.gz
regularization-d9018e42490a803fa59678c85bd679c3e5bcbd4e.tar.bz2
regularization-d9018e42490a803fa59678c85bd679c3e5bcbd4e.tar.xz
regularization-d9018e42490a803fa59678c85bd679c3e5bcbd4e.zip
added setup-fista.py
Diffstat (limited to 'Wrappers/Python/setup-fista.py')
-rw-r--r--Wrappers/Python/setup-fista.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/Wrappers/Python/setup-fista.py b/Wrappers/Python/setup-fista.py
new file mode 100644
index 0000000..c5c9f4d
--- /dev/null
+++ b/Wrappers/Python/setup-fista.py
@@ -0,0 +1,27 @@
+from distutils.core import setup
+#from setuptools import setup, find_packages
+import os
+
+cil_version=os.environ['CIL_VERSION']
+if cil_version == '':
+ print("Please set the environmental variable CIL_VERSION")
+ sys.exit(1)
+
+setup(
+ name="ccpi-fista",
+ version=cil_version,
+ packages=['ccpi','ccpi.reconstruction'],
+ install_requires=['numpy'],
+
+ zip_safe = False,
+
+ # metadata for upload to PyPI
+ author="Edoardo Pasca",
+ author_email="edo.paskino@gmail.com",
+ description='CCPi Core Imaging Library - FISTA Reconstructor module',
+ license="Apache v2.0",
+ keywords="tomography interative reconstruction",
+ url="http://www.ccpi.ac.uk", # project home page, if any
+
+ # could also include long_description, download_url, classifiers, etc.
+)