Skip to content

Commit

Permalink
Move layout to openalea. Enhance setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pradal committed Feb 17, 2018
1 parent f09c55e commit 055aaaa
Show file tree
Hide file tree
Showing 56 changed files with 6 additions and 15 deletions.
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
__revision__ = "$Id$"

import os, sys
from setuptools import setup
from setuptools import setup, find_packages

pj= os.path.join

Expand All @@ -25,6 +25,9 @@
* Support for different compilers on Linux and Windows (e.g. gcc, msvc, mingw)
"""

packages=find_packages('src')
package_dir={'': 'src'}

setup(name = name,
version = version,
description = description,
Expand All @@ -37,9 +40,8 @@
create_namespaces = True,
zip_safe = False,

packages = ["openalea.sconsx", "openalea.sconsx.tools", "openalea.sconsx.util"],
package_dir = { pkg_name : pj('src','sconsx'),
'' : 'src'},
packages=packages,
package_dir= package_dir,

# Dependencies
setup_requires = ['openalea.deploy'],
Expand Down
11 changes: 0 additions & 11 deletions src/openalea/sconsx/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@

# Redirect path
import os

cdir = os.path.dirname(__file__)
pdir = os.path.join(cdir, "../../sconsx")
pdir = os.path.abspath(pdir)

__path__ = [pdir] + __path__[:]

from openalea.sconsx.__init__ import *
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.
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.
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.
Empty file removed src/sconsx/util/__init__.py
Empty file.

0 comments on commit 055aaaa

Please sign in to comment.