Maniverse 0.3.2__tar.gz → 0.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of Maniverse might be problematic. Click here for more details.
- {maniverse-0.3.2 → maniverse-0.3.3/Maniverse.egg-info}/PKG-INFO +2 -7
- {maniverse-0.3.2 → maniverse-0.3.3}/Maniverse.egg-info/SOURCES.txt +0 -1
- maniverse-0.3.3/Maniverse.egg-info/top_level.txt +4 -0
- {maniverse-0.3.2/Maniverse.egg-info → maniverse-0.3.3}/PKG-INFO +2 -7
- {maniverse-0.3.2 → maniverse-0.3.3}/README.md +1 -6
- {maniverse-0.3.2 → maniverse-0.3.3}/pyproject.toml +1 -1
- {maniverse-0.3.2 → maniverse-0.3.3}/setup.py +23 -23
- maniverse-0.3.2/MANIFEST.in +0 -1
- maniverse-0.3.2/Maniverse.egg-info/top_level.txt +0 -1
- {maniverse-0.3.2 → maniverse-0.3.3}/LICENSE +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/Maniverse.egg-info/dependency_links.txt +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/setup.cfg +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Macro.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/Grassmann.cpp +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/Grassmann.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/Manifold.cpp +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/Manifold.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/Orthogonal.cpp +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/Orthogonal.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/PyManifoldIn.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/PyManifoldOut.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/Simplex.cpp +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/Simplex.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/TransRotInvPointCloud.cpp +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Manifold/TransRotInvPointCloud.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Optimizer/HessUpdate.cpp +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Optimizer/HessUpdate.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Optimizer/PyOptimizerIn.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Optimizer/PyOptimizerOut.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Optimizer/SubSolver.cpp +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Optimizer/SubSolver.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Optimizer/TrustRegion.cpp +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/Optimizer/TrustRegion.h +0 -0
- {maniverse-0.3.2 → maniverse-0.3.3}/src/PyManiverse.cpp +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Maniverse
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Numerical optimization on manifolds
|
|
5
5
|
Home-page: https://github.com/FreemanTheMaverick/Maniverse.git
|
|
6
6
|
Author: FreemanTheMaverick
|
|
@@ -78,12 +78,7 @@ $ git clone https://github.com/FreemanTheMaverick/Maniverse.git
|
|
|
78
78
|
$ python
|
|
79
79
|
>>> import Maniverse as mv
|
|
80
80
|
```
|
|
81
|
-
### Pip (for Python
|
|
82
|
-
* Setting environment variables
|
|
83
|
-
```
|
|
84
|
-
$ export PYTHON3=[The path where you can find "Python.h".] # You may check this by the command "locate Python.h".
|
|
85
|
-
$ export EIGEN3=[The path where you can find "Eigen/", "signature_of_eigen3_matrix_library" and "unsupported/".] # This is optional. If this is not set, the Eigen3 library will be downloaded automatically.
|
|
86
|
-
```
|
|
81
|
+
### Pip (for Python only)
|
|
87
82
|
* Installation with `pip`
|
|
88
83
|
```
|
|
89
84
|
pip install Maniverse
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Maniverse
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Numerical optimization on manifolds
|
|
5
5
|
Home-page: https://github.com/FreemanTheMaverick/Maniverse.git
|
|
6
6
|
Author: FreemanTheMaverick
|
|
@@ -78,12 +78,7 @@ $ git clone https://github.com/FreemanTheMaverick/Maniverse.git
|
|
|
78
78
|
$ python
|
|
79
79
|
>>> import Maniverse as mv
|
|
80
80
|
```
|
|
81
|
-
### Pip (for Python
|
|
82
|
-
* Setting environment variables
|
|
83
|
-
```
|
|
84
|
-
$ export PYTHON3=[The path where you can find "Python.h".] # You may check this by the command "locate Python.h".
|
|
85
|
-
$ export EIGEN3=[The path where you can find "Eigen/", "signature_of_eigen3_matrix_library" and "unsupported/".] # This is optional. If this is not set, the Eigen3 library will be downloaded automatically.
|
|
86
|
-
```
|
|
81
|
+
### Pip (for Python only)
|
|
87
82
|
* Installation with `pip`
|
|
88
83
|
```
|
|
89
84
|
pip install Maniverse
|
|
@@ -61,12 +61,7 @@ $ git clone https://github.com/FreemanTheMaverick/Maniverse.git
|
|
|
61
61
|
$ python
|
|
62
62
|
>>> import Maniverse as mv
|
|
63
63
|
```
|
|
64
|
-
### Pip (for Python
|
|
65
|
-
* Setting environment variables
|
|
66
|
-
```
|
|
67
|
-
$ export PYTHON3=[The path where you can find "Python.h".] # You may check this by the command "locate Python.h".
|
|
68
|
-
$ export EIGEN3=[The path where you can find "Eigen/", "signature_of_eigen3_matrix_library" and "unsupported/".] # This is optional. If this is not set, the Eigen3 library will be downloaded automatically.
|
|
69
|
-
```
|
|
64
|
+
### Pip (for Python only)
|
|
70
65
|
* Installation with `pip`
|
|
71
66
|
```
|
|
72
67
|
pip install Maniverse
|
|
@@ -1,39 +1,33 @@
|
|
|
1
1
|
import os
|
|
2
|
-
import
|
|
2
|
+
import urllib.request
|
|
3
3
|
import tarfile
|
|
4
|
-
import subprocess
|
|
5
4
|
from glob import glob
|
|
6
5
|
from setuptools import setup, find_packages
|
|
7
|
-
from setuptools.command.
|
|
6
|
+
from setuptools.command.build_py import build_py
|
|
8
7
|
import pybind11
|
|
9
8
|
from pybind11.setup_helpers import Pybind11Extension, ParallelCompile, naive_recompile
|
|
10
9
|
|
|
11
|
-
__version__ = "0.3.
|
|
12
|
-
pwd = os.path.dirname(__file__)
|
|
10
|
+
__version__ = "0.3.3"
|
|
13
11
|
|
|
14
|
-
#
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
EIGEN3 = pwd + "/eigen-3.4-rc1/"
|
|
28
|
-
print("EIGEN3 is %s." % EIGEN3)
|
|
12
|
+
# Downloading Eigen3
|
|
13
|
+
pwd = os.path.dirname(__file__)
|
|
14
|
+
EIGEN3 = pwd + "/eigen-3.4-rc1/"
|
|
15
|
+
class CustomBuild(build_py):
|
|
16
|
+
def run(self):
|
|
17
|
+
url = "https://gitlab.com/libeigen/eigen/-/archive/3.4-rc1/eigen-3.4-rc1.tar.gz"
|
|
18
|
+
dest = pwd + "/eigen-3.4-rc1.tar.gz"
|
|
19
|
+
print("Downloading Eigen3 from %s to %s ..." % (url, dest))
|
|
20
|
+
urllib.request.urlretrieve(url, dest)
|
|
21
|
+
print("Extracting %s to %s ..." % (dest, EIGEN3))
|
|
22
|
+
with tarfile.open(dest) as tar:
|
|
23
|
+
tar.extractall(path = pwd) # Directory: eigen-3.4-rc1
|
|
24
|
+
super().run()
|
|
29
25
|
|
|
30
26
|
ParallelCompile(
|
|
31
27
|
"NPY_NUM_BUILD_JOBS",
|
|
32
28
|
needs_recompile = naive_recompile
|
|
33
29
|
).install()
|
|
34
30
|
|
|
35
|
-
os.chdir(pwd)
|
|
36
|
-
|
|
37
31
|
MV_CPP = sorted(glob("src/*.cpp") + glob("src/*/*.cpp"))
|
|
38
32
|
ext_modules = [ Pybind11Extension(
|
|
39
33
|
"Maniverse",
|
|
@@ -53,7 +47,13 @@ setup(
|
|
|
53
47
|
long_description = open("README.md").read(),
|
|
54
48
|
long_description_content_type = "text/markdown",
|
|
55
49
|
url = "https://github.com/FreemanTheMaverick/Maniverse.git",
|
|
50
|
+
cmdclass = {"build_py": CustomBuild},
|
|
56
51
|
ext_modules = ext_modules,
|
|
57
|
-
|
|
52
|
+
packages = ["src", "src/Manifold", "src/Optimizer"],
|
|
53
|
+
package_data = {
|
|
54
|
+
"src": ["*.h"],
|
|
55
|
+
"src/Manifold": ["*.h"],
|
|
56
|
+
"src/Optimizer": ["*.h"],
|
|
57
|
+
},
|
|
58
58
|
classifiers = ["Programming Language :: Python :: 3"]
|
|
59
59
|
)
|
maniverse-0.3.2/MANIFEST.in
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
recursive-include src *.h
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Maniverse
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|