Skip to content

Commit ffa9654

Browse files
authored
Remove setup (#113)
1 parent 5062803 commit ffa9654

File tree

6 files changed

+38
-103
lines changed

6 files changed

+38
-103
lines changed

README.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,22 @@
22
PyExaFMM
33
</h1>
44

5-
[![Anaconda-Server Badge](https://img.shields.io/conda/v/skailasa/pyexafmm.svg)](https://anaconda.org/skailasa/pyexafmm) [![Anaconda-Server Badge](https://anaconda.org/skailasa/pyexafmm/badges/latest_release_date.svg)](https://anaconda.org/skailasa/pyexafmm) [![Anaconda-Server Badge](https://anaconda.org/skailasa/pyexafmm/badges/platforms.svg)](https://anaconda.org/skailasa/pyexafmm)
6-
75
PyExaFMM is an adaptive particle kernel-independent FMM based on [1], written in pure Python with some extensions. Representing a compromise between portability, maintainability, and performance.
86

9-
## Install
7+
PyExaFMM is no longer supported actively, and instead serves as an example for the kernel independent FMM in Python.
108

11-
Download from Anaconda cloud into a conda/mini-conda environment:
9+
## Install
1210

13-
```bash
14-
conda install -c skailasa pyexafmm
15-
```
1611

17-
Developers may want to build from source:
12+
Build from source
1813

1914
```bash
20-
# Add required channels
21-
conda config --env --add channels skailasa
22-
conda config --env --add channels conda-forge
23-
conda config --env --add channels anaconda
24-
conda config --env --add channels nvidia
25-
2615
# Clone
2716
git clone git@github.com:exafmm/pyexafmm.git
2817
cd pyexafmm
2918

3019
# Build
31-
conda build conda.recipe
32-
33-
# Install
34-
conda install --use-local pyexafmm
35-
36-
# Editable mode for live development
37-
python setup.py develop
20+
python -m pip install .
3821
```
3922

4023
## Configuration

conda.recipe/meta.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

fmm/__init__.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
11
# API
22
from fmm.fmm import Fmm
3-
4-
# Info
5-
import fmm.__version__ as _version
6-
7-
__version__ = _version.__version__
8-
__description__ = _version.__description__
9-
__title__ = _version.__title__

fmm/__version__.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "fmm"
7+
version = "1.3.0"
8+
description = "A Python FMM accelerated with Numba"
9+
authors = [
10+
{ name = "Srinath Kailasa", email = "srinathkailasa@gmail.com" }
11+
]
12+
keywords = ["AdaptOctree"]
13+
classifiers = [
14+
"Programming Language :: Python :: 3.8"
15+
]
16+
17+
dependencies = [
18+
"adaptoctree @ git+https://github.com/Excalibur-SLE/AdaptOctree.git",
19+
"scipy",
20+
"h5py",
21+
"scikit-learn",
22+
"click",
23+
"pytest"
24+
]
25+
readme = {file = "README.md", content-type = "text/markdown"}
26+
license = {file = "LICENSE"}
27+
urls = { "Homepage"="https://github.com/exafmm/pyexafmm/"}
28+
29+
30+
[tool.setuptools.packages.find]
31+
exclude = ["*.test"]
32+
33+
[project.scripts]
34+
fmm = "ci.cli:cli"

setup.py

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)