From d8da92d590fcab561b9e65ee57851e2e402f0cd4 Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Fri, 10 Nov 2017 14:03:37 +0000 Subject: code refactoring step1 --- Wrappers/Python/setup-fista.py.in | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Wrappers/Python/setup-fista.py.in (limited to 'Wrappers/Python/setup-fista.py.in') diff --git a/Wrappers/Python/setup-fista.py.in b/Wrappers/Python/setup-fista.py.in new file mode 100644 index 0000000..c5c9f4d --- /dev/null +++ b/Wrappers/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. +) -- cgit v1.2.3