Skip to content

Commit

Permalink
Add openalea namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasarsouze committed Jan 22, 2024
1 parent d719abf commit 42a3877
Show file tree
Hide file tree
Showing 23 changed files with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from os.path import abspath, normpath
from os.path import join as pj

from setuptools import setup, find_packages
from setuptools import setup, find_namespace_packages


short_descr = "HydroShoot is an FSPM model to simulate gas-exchange on vine"
Expand All @@ -17,10 +17,11 @@


# find version number in src/hydroshoot/version.py
version = {}
_version = {}
with open("src/hydroshoot/version.py") as fp:
exec(fp.read(), version)
exec(fp.read(), _version)

version = _version["__version__"]

data_files = []

Expand All @@ -47,12 +48,13 @@ def data_rel_pth(pth):
author="Rami Albasha, Christian Fournier, Christophe Pradal, Eric Lebon, ",
author_email="rami albasha at inra dot fr, @fournier-ch, @pradal, eric dot lebon at inra dot fr, ",
url='https://github.com/openalea/hydroshoot',
license='cecill-c',
license='CeCILL-C',
zip_safe=False,

packages=find_packages('src'),
packages=find_namespace_packages(where='src', include=['openalea', 'openalea.*']),
package_dir={'': 'src'},

namespace_packages=['openalea'],

include_package_data=True,
package_data={'hydroshoot_data': data_files},
install_requires=[
Expand All @@ -61,7 +63,7 @@ def data_rel_pth(pth):
"pytest",
],
entry_points={},
keywords='',
keywords=['FSPM', 'openalea', 'plant', 'MTG', 'Hydraulic Structure', 'gas-exchange', 'energy balance'],
test_suite='nose.collector',
)
# #}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 42a3877

Please sign in to comment.