Skip to content

Commit

Permalink
Merge pull request #52 from pradal/namespace
Browse files Browse the repository at this point in the history
Update openalea to namespace package
  • Loading branch information
pradal authored Jan 22, 2024
2 parents 04b54d8 + 046d82a commit d90ffb2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/conda-package-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Building Package

on:
push:
branches:
- '**'
tags:
- 'v*'
pull_request:
branches:
- '**'


jobs:
build:
uses: openalea/github-action-conda-build/.github/workflows/conda-package-build.yml@main
with:
conda-channels: openalea3, conda-forge
secrets:
anaconda_token: ${{ secrets.ANACONDA_TOKEN }}
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# {# pkglts, pysetup.kwds
# format setup arguments

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


short_descr = "OpenAlea.Deploy support the installation of OpenAlea packages via the network and manage their dependencies. It is an extension of Setuptools."
Expand All @@ -27,12 +27,12 @@
long_description=readme + '\n\n' + history,
author="openalea",
author_email="[email protected]",
url='https://openalea.gforge.inria.fr',
url='https://openalea.rtfd.io',
license='cecill-c',
zip_safe=False,

packages=find_packages('src'),
namespace_packages=['openalea'],
packages=find_namespace_packages(where='src', include=['openalea', 'openalea.*']),
#namespace_packages=['openalea'],
package_dir={'': 'src'},
entry_points={},
keywords='setuptools, openalea',
Expand Down

0 comments on commit d90ffb2

Please sign in to comment.