Maniverse 0.3.3__tar.gz → 0.3.4__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.3 → maniverse-0.3.4/Maniverse.egg-info}/PKG-INFO +1 -1
- maniverse-0.3.4/Maniverse.egg-info/top_level.txt +1 -0
- {maniverse-0.3.3/Maniverse.egg-info → maniverse-0.3.4}/PKG-INFO +1 -1
- {maniverse-0.3.3 → maniverse-0.3.4}/setup.py +6 -11
- maniverse-0.3.3/Maniverse.egg-info/top_level.txt +0 -4
- {maniverse-0.3.3 → maniverse-0.3.4}/LICENSE +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/Maniverse.egg-info/SOURCES.txt +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/Maniverse.egg-info/dependency_links.txt +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/README.md +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/pyproject.toml +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/setup.cfg +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Macro.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/Grassmann.cpp +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/Grassmann.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/Manifold.cpp +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/Manifold.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/Orthogonal.cpp +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/Orthogonal.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/PyManifoldIn.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/PyManifoldOut.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/Simplex.cpp +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/Simplex.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/TransRotInvPointCloud.cpp +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Manifold/TransRotInvPointCloud.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Optimizer/HessUpdate.cpp +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Optimizer/HessUpdate.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Optimizer/PyOptimizerIn.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Optimizer/PyOptimizerOut.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Optimizer/SubSolver.cpp +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Optimizer/SubSolver.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Optimizer/TrustRegion.cpp +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/Optimizer/TrustRegion.h +0 -0
- {maniverse-0.3.3 → maniverse-0.3.4}/src/PyManiverse.cpp +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Maniverse
|
|
@@ -3,16 +3,16 @@ import urllib.request
|
|
|
3
3
|
import tarfile
|
|
4
4
|
from glob import glob
|
|
5
5
|
from setuptools import setup, find_packages
|
|
6
|
-
from setuptools.command.
|
|
6
|
+
from setuptools.command.build import build
|
|
7
7
|
import pybind11
|
|
8
8
|
from pybind11.setup_helpers import Pybind11Extension, ParallelCompile, naive_recompile
|
|
9
9
|
|
|
10
|
-
__version__ = "0.3.
|
|
10
|
+
__version__ = "0.3.4"
|
|
11
11
|
|
|
12
12
|
# Downloading Eigen3
|
|
13
13
|
pwd = os.path.dirname(__file__)
|
|
14
14
|
EIGEN3 = pwd + "/eigen-3.4-rc1/"
|
|
15
|
-
class CustomBuild(
|
|
15
|
+
class CustomBuild(build):
|
|
16
16
|
def run(self):
|
|
17
17
|
url = "https://gitlab.com/libeigen/eigen/-/archive/3.4-rc1/eigen-3.4-rc1.tar.gz"
|
|
18
18
|
dest = pwd + "/eigen-3.4-rc1.tar.gz"
|
|
@@ -29,11 +29,12 @@ ParallelCompile(
|
|
|
29
29
|
).install()
|
|
30
30
|
|
|
31
31
|
MV_CPP = sorted(glob("src/*.cpp") + glob("src/*/*.cpp"))
|
|
32
|
+
MV_HEADER = sorted(glob("src/*.h") + glob("src/*/*.h"))
|
|
32
33
|
ext_modules = [ Pybind11Extension(
|
|
33
34
|
"Maniverse",
|
|
34
35
|
MV_CPP,
|
|
35
|
-
undef_macros = ["DEBUG"],
|
|
36
36
|
include_dirs = [EIGEN3],
|
|
37
|
+
depends = MV_HEADER,
|
|
37
38
|
extra_compile_args = ["-O3", "-D__PYTHON__", "-DEIGEN_INITIALIZE_MATRICES_BY_ZERO"],
|
|
38
39
|
cxx_std = 17,
|
|
39
40
|
language = "c++"
|
|
@@ -47,13 +48,7 @@ setup(
|
|
|
47
48
|
long_description = open("README.md").read(),
|
|
48
49
|
long_description_content_type = "text/markdown",
|
|
49
50
|
url = "https://github.com/FreemanTheMaverick/Maniverse.git",
|
|
50
|
-
cmdclass = {"
|
|
51
|
+
cmdclass = {"build": CustomBuild},
|
|
51
52
|
ext_modules = ext_modules,
|
|
52
|
-
packages = ["src", "src/Manifold", "src/Optimizer"],
|
|
53
|
-
package_data = {
|
|
54
|
-
"src": ["*.h"],
|
|
55
|
-
"src/Manifold": ["*.h"],
|
|
56
|
-
"src/Optimizer": ["*.h"],
|
|
57
|
-
},
|
|
58
53
|
classifiers = ["Programming Language :: Python :: 3"]
|
|
59
54
|
)
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|