forked from openalea/phenomenal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Aurelien Besnier
committed
Jan 25, 2024
1 parent
b623182
commit 6deb7d6
Showing
5 changed files
with
80 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,79 @@ | ||
# -*- python -*- | ||
# | ||
# Copyright INRIA - CIRAD - INRA | ||
# | ||
# File author(s): | ||
# | ||
# File contributor(s): | ||
# | ||
# Distributed under the Cecill-C License. | ||
# See accompanying file LICENSE.txt or copy at | ||
# http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html | ||
# | ||
# OpenAlea WebSite : http://openalea.gforge.inria.fr | ||
# | ||
# ============================================================================== | ||
""" | ||
""" | ||
# ============================================================================== | ||
import numpy | ||
from Cython.Build import cythonize | ||
from setuptools import setup, find_namespace_packages, Extension | ||
# ============================================================================== | ||
|
||
namespace = "openalea" | ||
pkg_root_dir = 'src' | ||
packages = find_namespace_packages(where='src', include=['openalea', 'openalea.*']) | ||
top_pkgs = [pkg for pkg in packages if len(pkg.split('.')) <= 2] | ||
package_dir = dict([('', pkg_root_dir)] + | ||
[(pkg, pkg_root_dir + "/" + pkg.replace('.', '/')) | ||
for pkg in top_pkgs]) | ||
|
||
|
||
extentions = [ | ||
Extension('openalea.phenomenal.segmentation._c_skeleton', | ||
sources=['src/openalea/phenomenal/segmentation/src/skeleton.pyx', | ||
'src/openalea/phenomenal/segmentation/src/skel.cpp'], | ||
include_dirs=[numpy.get_include()], | ||
language="c++"), | ||
Extension('openalea.phenomenal.multi_view_reconstruction._c_mvr', | ||
sources=['src/openalea/phenomenal/multi_view_reconstruction/src/c_mvr.pyx', | ||
'src/openalea/phenomenal/multi_view_reconstruction/src/integral_image.cpp'], | ||
include_dirs=[numpy.get_include()], | ||
language="c++") | ||
] | ||
|
||
setup( | ||
name="openalea.phenomenal", | ||
version="1.9.1", | ||
description="", | ||
long_description="", | ||
|
||
author="* Simon Artzet\n" | ||
"* Christian Fournier\n" | ||
"* Mielewczik Michael\n" | ||
"* Brichet Nicolas\n" | ||
"* Chopard Jerome\n" | ||
"* Christophe Pradal\n", | ||
|
||
author_email="[email protected]", | ||
maintainer="Simon Artzet", | ||
maintainer_email="[email protected]", | ||
|
||
url="https://github.com/openalea/phenomenal", | ||
license="Cecill-C", | ||
keywords='', | ||
|
||
# package installation | ||
packages=packages, | ||
package_dir=package_dir, | ||
zip_safe=False, | ||
ext_modules=cythonize(extentions), | ||
|
||
entry_points={ | ||
"wralea": ["openalea.phenomenal = openalea.phenomenal_wralea", ], | ||
}, | ||
|
||
# See MANIFEST.in | ||
include_package_data=True, | ||
) | ||
# -*- python -*- | ||
# | ||
# Copyright INRIA - CIRAD - INRA | ||
# | ||
# File author(s): | ||
# | ||
# File contributor(s): | ||
# | ||
# Distributed under the Cecill-C License. | ||
# See accompanying file LICENSE.txt or copy at | ||
# http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html | ||
# | ||
# OpenAlea WebSite : http://openalea.gforge.inria.fr | ||
# | ||
# ============================================================================== | ||
""" | ||
""" | ||
# ============================================================================== | ||
import numpy | ||
from Cython.Build import cythonize | ||
from setuptools import setup, find_packages, Extension, Command | ||
# ============================================================================== | ||
|
||
namespace = "openalea" | ||
pkg_root_dir = 'src' | ||
packages = [pkg for pkg in find_packages(pkg_root_dir)] | ||
top_pkgs = [pkg for pkg in packages if len(pkg.split('.')) <= 2] | ||
package_dir = dict([('', pkg_root_dir)] + | ||
[(pkg, pkg_root_dir + "/" + pkg.replace('.', '/')) | ||
for pkg in top_pkgs]) | ||
|
||
|
||
extentions = [ | ||
Extension('openalea.phenomenal.segmentation._c_skeleton', | ||
sources=['src/openalea/phenomenal/segmentation/src/skeleton.pyx', | ||
'src/openalea/phenomenal/segmentation/src/skel.cpp'], | ||
include_dirs=[numpy.get_include()], | ||
language="c++"), | ||
Extension('openalea.phenomenal.multi_view_reconstruction._c_mvr', | ||
sources=['src/openalea/phenomenal/multi_view_reconstruction/src/c_mvr.pyx', | ||
'src/openalea/phenomenal/multi_view_reconstruction/src/integral_image.cpp'], | ||
include_dirs=[numpy.get_include()], | ||
language="c++") | ||
] | ||
|
||
setup( | ||
name="openalea.phenomenal", | ||
version="1.8.1", | ||
description="", | ||
long_description="", | ||
|
||
author="* Simon Artzet\n" | ||
"* Christian Fournier\n" | ||
"* Mielewczik Michael\n" | ||
"* Brichet Nicolas\n" | ||
"* Chopard Jerome\n" | ||
"* Christophe Pradal\n", | ||
|
||
author_email="[email protected]", | ||
maintainer="Simon Artzet", | ||
maintainer_email="[email protected]", | ||
|
||
url="https://github.com/openalea/phenomenal", | ||
license="Cecill-C", | ||
keywords='', | ||
|
||
# package installation | ||
packages=packages, | ||
package_dir=package_dir, | ||
zip_safe=False, | ||
ext_modules=cythonize(extentions), | ||
|
||
entry_points={ | ||
"wralea": ["openalea.phenomenal = openalea.phenomenal_wralea", ], | ||
}, | ||
|
||
# See MANIFEST.in | ||
include_package_data=True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.