Skip to content

Commit

Permalink
merged maser
Browse files Browse the repository at this point in the history
  • Loading branch information
damonge committed Feb 13, 2024
2 parents 3f37564 + 2b35f37 commit 74f9aaa
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 20 deletions.
39 changes: 39 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[build-system]
requires = [
"setuptools >= 61.0",
"numpy"
]
build-backend = "setuptools.build_meta"

[project]
name = "pymaster"
version = "1.6.1"
authors = [
{name="David Alonso", email="[email protected]"}
]
description = "Library for pseudo-Cl computation"
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
requires-python = ">=2.7"
dependencies = [
"healpy",
"ducc0"
]
classifiers=[
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Operating System :: Unix',
'Operating System :: MacOS'
]

[project.urls]
Repository = "https://github.com/LSSTDESC/NaMaster.git"
Documentation = "https://namaster.readthedocs.io/en/latest/"
Changelog = "https://github.com/LSSTDESC/NaMaster/blob/master/CHANGELOG.md"
Issues = "https://github.com/LSSTDESC/NaMaster/issues"

[tool.setuptools]
packages = ["pymaster"]
22 changes: 2 additions & 20 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
libs += ['gomp']
extra += ['-fopenmp']


def _compile_libchealpix():
if not os.path.exists('_deps/lib/libchealpix.a'):
try:
Expand Down Expand Up @@ -84,26 +85,7 @@ def run(self):
extra_link_args=extra
)

with open("README.md", "r") as fh:
long_description = fh.read()

setup(name="pymaster",
version="1.5.1",
author="David Alonso",
author_email="[email protected]",
description="Library for pseudo-Cl computation",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/LSSTDESC/NaMaster",
setup(
cmdclass={'build_py': build, 'develop': develop},
classifiers=[
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Operating System :: Unix',
'Operating System :: MacOS'],
packages=['pymaster'],
ext_modules=[_nmtlib],
)

0 comments on commit 74f9aaa

Please sign in to comment.