Skip to content
Snippets Groups Projects
Commit 78eb5bf1 authored by Philipp Arras's avatar Philipp Arras
Browse files

Prepare for pypi upload

parent bbf01314
No related branches found
No related tags found
1 merge request!36Pypi
Pipeline #134409 passed
prune .
include COPYING
include README.md
include pyproject.toml
include setup.py
recursive-include resolve *.py
recursive-include test *.py
recursive-include resolve_support *.h *.cc
[project]
requires-python = ">=3.7"
[build-system]
requires = ["setuptools >= 40.6.0", "pybind11 >= 2.6.0", "ducc0", "matplotlib", "h5py", "mpi4py", "python-casacore", "scipy", "nifty8"]
build-backend = "setuptools.build_meta"
...@@ -25,6 +25,8 @@ from glob import iglob ...@@ -25,6 +25,8 @@ from glob import iglob
import pybind11 import pybind11
from setuptools import Extension, find_packages, setup from setuptools import Extension, find_packages, setup
exec(open('resolve/version.py').read())
tmp = os.getenv("DUCC0_CFLAGS", "").split(" ") tmp = os.getenv("DUCC0_CFLAGS", "").split(" ")
user_cflags = [x for x in tmp if x != ""] user_cflags = [x for x in tmp if x != ""]
tmp = os.getenv("DUCC0_LFLAGS", "").split(" ") tmp = os.getenv("DUCC0_LFLAGS", "").split(" ")
...@@ -125,16 +127,19 @@ extensions = [Extension("resolve_support", ...@@ -125,16 +127,19 @@ extensions = [Extension("resolve_support",
_print_env() _print_env()
__version__ = "0.0"
setup( setup(
name="resolve", name="resolve",
version=__version__,
author="Philipp Arras", author="Philipp Arras",
author_email="parras@mpa-garching.mpg.de", author_email="parras@mpa-garching.mpg.de",
description="Radio imaging with information field theory", description="Radio imaging with information field theory",
url="https://gitlab.mpcdf.mpg.de/ift/resolve", url="https://gitlab.mpcdf.mpg.de/ift/resolve",
packages=find_packages(include=["resolve", "resolve.*"]), packages=find_packages(include=["resolve", "resolve.*", "resolve_support", "resolve_support.*"]),
zip_safe=True, zip_safe=True,
dependency_links=[], dependency_links=[],
install_requires=["ducc0", "matplotlib", "h5py", "mpi4py", "python-casacore", "scipy"], # FIXME nifty8 install_requires=["ducc0", "matplotlib", "h5py", "mpi4py", "python-casacore", "scipy", "nifty8"],
ext_modules=extensions, ext_modules=extensions,
entry_points={"console_scripts": entry_points={"console_scripts":
[ [
...@@ -143,7 +148,7 @@ setup( ...@@ -143,7 +148,7 @@ setup(
]}, ]},
license="GPLv3", license="GPLv3",
classifiers=[ classifiers=[
"Development Status :: 3 - Alpha", "Development Status :: 4 - Beta",
"Topic :: Utilities", "Topic :: Utilities",
"License :: OSI Approved :: GNU General Public License v3 " "or later (GPLv3+)", "License :: OSI Approved :: GNU General Public License v3 " "or later (GPLv3+)",
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment