summaryrefslogtreecommitdiffstats
path: root/src/Python/setup-fista.py.in
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-10-25 10:56:57 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2017-10-25 10:56:57 +0100
commitc21df8581e052541a2dd39a46a4c1f50e335fd9e (patch)
tree5c8f755f910a9b5006791e715328242f68fbe504 /src/Python/setup-fista.py.in
parent31097954f87d0f30f667b29a12f7098710c284ab (diff)
parent455ca86825c157512f61441d3d27b8148ca795a7 (diff)
downloadregularization-c21df8581e052541a2dd39a46a4c1f50e335fd9e.tar.gz
regularization-c21df8581e052541a2dd39a46a4c1f50e335fd9e.tar.bz2
regularization-c21df8581e052541a2dd39a46a4c1f50e335fd9e.tar.xz
regularization-c21df8581e052541a2dd39a46a4c1f50e335fd9e.zip
Merge branch origin/pythonize into pythonize
Diffstat (limited to 'src/Python/setup-fista.py.in')
-rw-r--r--src/Python/setup-fista.py.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/Python/setup-fista.py.in b/src/Python/setup-fista.py.in
new file mode 100644
index 0000000..c5c9f4d
--- /dev/null
+++ b/src/Python/setup-fista.py.in
@@ -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.
+)