Skip to content

Commit

Permalink
Reverting
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurelien Besnier committed Jan 25, 2024
1 parent b623182 commit 6deb7d6
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 142 deletions.
2 changes: 1 addition & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build:
preserve_egg_dir: True
string: phenomenal
script:
- {{ PYTHON }} setup.py.bak install --single-version-externally-managed --record record.txt
- {{ PYTHON }} setup.py install --single-version-externally-managed --record record.txt

requirements:

Expand Down
56 changes: 0 additions & 56 deletions pyproject.toml.bak

This file was deleted.

158 changes: 79 additions & 79 deletions setup.py
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,
)
1 change: 0 additions & 1 deletion src/openalea/phenomenal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@
# http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html
#
# ==============================================================================
from .version import __version__
5 changes: 0 additions & 5 deletions src/openalea/phenomenal/version.py

This file was deleted.

0 comments on commit 6deb7d6

Please sign in to comment.