setup.py 643 Bytes
Newer Older
Leon Merten Lohse's avatar
Leon Merten Lohse committed
1
2
3
4
5
6
7
8
9
import sys

try:
  from skbuild import setup
except ImportError:
  print('Please update pip, you need pip 10 or greater,\n'
      ' or you need to install the PEP 518 requirements in pyproject.toml yourself', file=sys.stderr)
  raise

10
11
12
13
14
# following https://packaging.python.org/guides/single-sourcing-package-version/
version = {}
with open("fresnel/version.py") as fp:
    exec(fp.read(), version)

Leon Merten Lohse's avatar
Leon Merten Lohse committed
15
16
setup(
    name="fresnel",
17
    version=version['__version__'],
Leon Merten Lohse's avatar
Leon Merten Lohse committed
18
19
20
    author='Leon M. Lohse',
    author_email='llohse@uni-goettingen.de',
    url='https://gitlab.gwdg.de/irp/fresnel',
Leon Merten Lohse's avatar
Leon Merten Lohse committed
21
22
23
    packages=['fresnel'],
    cmake_install_dir='fresnel/'
  )