Пример #1
0
from openalea.deploy.metainfo import read_metainfo
metadata = read_metainfo('metainfo.ini', verbose=True)
for key, value in metadata.iteritems():
    exec("%s = '%s'" % (key, value))

build_prefix = "build-scons"

# Scons build directory
scons_parameters = ["build_prefix=" + build_prefix]

# platform dependencies
install_requires = []
setup_requires = install_requires + ['openalea.deploy']

if sys.platform.startswith('win'):
    install_requires = [binary_deps('vplants.stat_tool')]
    install_requires += [binary_deps("boost")]
    setup_requires += [binary_deps("boost")]

if __name__ == '__main__':

    setup(
        name=name,
        version=version,
        author=authors,
        author_email=authors_email,
        description=description,
        long_description=long_description,
        url=url,
        license=license,
Пример #2
0
from openalea.deploy.binary_deps import binary_deps
import os, sys
from os.path import join as pj
 
packagename = 'tree_matching'
namespace = 'openalea'
build_prefix = "build-scons"

# Scons build directory
scons_parameters=["build_prefix="+build_prefix]


# platform dependencies
install_requires = []
if sys.platform == 'win32':
    install_requires.append(binary_deps("boost"))

setup_requires = ['openalea.deploy']


if __name__ == '__main__':
    
    setup(name='VPlants.Tree_Matching2',
          version='1.0.0',
          author='Pascal Ferraro, Aida Ouangraoua',
          description='Tree matching library',
          url='',
          license='GPL',
          
          # Define where to execute scons
          scons_scripts=['SConstruct'],
Пример #3
0
from setuptools import setup, find_packages
from openalea.deploy.binary_deps import binary_deps
import os, sys
from os.path import join as pj

packagename = 'tree_matching'
namespace = 'openalea'
build_prefix = "build-scons"

# Scons build directory
scons_parameters = ["build_prefix=" + build_prefix]

# platform dependencies
install_requires = []
if sys.platform == 'win32':
    install_requires.append(binary_deps("boost"))

setup_requires = ['openalea.deploy']

if __name__ == '__main__':

    setup(
        name='VPlants.Tree_Matching2',
        version='1.0.0',
        author='Pascal Ferraro, Aida Ouangraoua',
        description='Tree matching library',
        url='',
        license='GPL',

        # Define where to execute scons
        scons_scripts=['SConstruct'],
Пример #4
0
# check that meta version is updated
f = pj(os.path.dirname(__file__), 'src', 'openalea', 'lpy', '__version__.py')
d = {}
execfile(f, d, d)
version = d['LPY_VERSION_STR']
if meta_version != version:
    print 'Warning:: Update the version in metainfo.ini !!'
print pkg_name, ': version =', version

# Scons build directory
build_prefix = "build-scons"

from setuptools import setup
from openalea.deploy.binary_deps import binary_deps

install_requires = [binary_deps('vplants.plantgl')]
#if 'linux' not in sys.platform:
#    install_requires.append('PyOpenGL')
#    install_requires.append('pyqglviewer')

setup(
    name=name,
    version=version,
    description=description,
    long_description=long_description,
    author=authors,
    author_email=authors_email,
    url=url,
    license=license,
    scons_scripts=['SConstruct'],
    namespace_packages=[namespace],
Пример #5
0
    exec("%s = '%s'" % (key, value))

# Setup script
meta_version = version
version = versionreader.getPGLVersionString()
if meta_version != version:
    print 'Warning:: Update the version in metainfo.ini !!'
print pkg_name, ': version =', version

# Scons build directory
build_prefix = "build-scons"

if sys.platform.startswith('win'):
    install_requires = ["boost", "qhull"]  #, "qt4"]
    #setup_requires = install_requires +['qt4-dev']
    install_requires = [binary_deps(i) for i in install_requires]
#else:
install_requires = []
setup_requires = []
#if sys.platform.startswith('win'):
#setup_requires.append(["bisonflex"])

pylint_dir = os.path.join('src', 'plantgl')

# Main setup
setup(
    name=name,
    version=version,
    description=description,
    long_description=long_description,
    author=authors,
Пример #6
0
from openalea.deploy.binary_deps import binary_deps
from openalea.deploy.setup import *
from os.path import join as pj

from openalea.deploy.metainfo import read_metainfo
metadata = read_metainfo('metainfo.ini', verbose=True)
for key, value in metadata.iteritems():
    exec("%s = '%s'" % (key, value))

build_prefix = "build-scons"

# Scons build directory
scons_parameters = ["build_prefix=" + build_prefix]

# platform dependencies
install_requires = [binary_deps('vplants.tool')]
if sys.platform.startswith('win'):
    install_requires += [binary_deps("boost")]
install_requires = []
setup_requires = install_requires + ['openalea.deploy']

if __name__ == '__main__':

    setup(
        name=name,
        version=version,
        description=description,
        long_description=long_description,
        author=authors,
        author_email=authors_email,
        url=url,
Пример #7
0
for key,value in metadata.iteritems():
    exec("%s = '%s'" % (key, value))


build_prefix = "build-scons"

# Scons build directory
scons_parameters=["build_prefix="+build_prefix]


# platform dependencies
install_requires = []
setup_requires = install_requires + ['openalea.deploy']

if sys.platform.startswith('win'):
    install_requires = [binary_deps('vplants.stat_tool')]
    install_requires += [binary_deps("boost")]
    setup_requires += [binary_deps("boost")]


if __name__ == '__main__':

    setup(name=name,
          version=version,
          author=authors,
          author_email=authors_email,
          description=description,
          long_description=long_description,
          url=url,
          license=license,
Пример #8
0
version= d['LPY_NUM_VERSION_STR']
if meta_version != version:
    print 'Warning:: Update the version in metainfo.ini !!'
print pkg_name,': version =',version





# Scons build directory
build_prefix = "build-scons"

from setuptools import setup
from openalea.deploy.binary_deps import binary_deps

install_requires = [binary_deps('vplants.plantgl')]
#if 'linux' not in sys.platform:
#    install_requires.append('PyOpenGL')
#    install_requires.append('pyqglviewer')

setup(
    name=name,
    version=version,
    description=description,
    long_description=long_description,
    author=authors,
    author_email=authors_email,
    url=url,
    license=license,
    
    scons_scripts = ['SConstruct'],
Пример #9
0
from os.path import join as pj

from openalea.deploy.metainfo import read_metainfo
metadata = read_metainfo('metainfo.ini', verbose=True)
for key,value in metadata.iteritems():
    exec("%s = '%s'" % (key, value))


build_prefix = "build-scons"

# Scons build directory
scons_parameters = ["build_prefix=" + build_prefix]


# platform dependencies
install_requires = [binary_deps('vplants.tool')]
if sys.platform.startswith('win'):
    install_requires += [binary_deps("boost")]
install_requires = []
setup_requires = install_requires + ['openalea.deploy']


if __name__ == '__main__':

    setup(name=name,
          version=version,
          description=description,
          long_description=long_description,
          author=authors,
          author_email=authors_email,
          url=url,
Пример #10
0
from setuptools import setup
from openalea.deploy.binary_deps import binary_deps
from openalea.deploy.metainfo import read_metainfo

metadata = read_metainfo('metainfo.ini', verbose=True)
for key, value in metadata.iteritems():
    exec("%s = '%s'" % (key, value))

# Scons build directory
build_prefix = "build-scons"
scons_parameters = ["build_prefix=" + build_prefix]

# dependencies
install_requires = [
    binary_deps('vplants.amlobj'),
    binary_deps('vplants.plantgl')
]
install_requires = []
setup_requires = ['openalea.deploy']

if __name__ == '__main__':

    setup(
        name=name,
        version=version,
        author=authors,
        description=description,
        url=url,
        license=license,
Пример #11
0

# Setup script
meta_version = version 
version = versionreader.getPGLVersionString()
if meta_version != version:
    print 'Warning:: Update the version in metainfo.ini !!'
print pkg_name,': version =',version

# Scons build directory
build_prefix= "build-scons"

if sys.platform.startswith('win'):
    install_requires = ["boost", "qhull"]#, "qt4"]
    #setup_requires = install_requires +['qt4-dev'] 
    install_requires = [ binary_deps(i) for i in install_requires ]
#else:
install_requires = []
setup_requires = []
#if sys.platform.startswith('win'): 
    #setup_requires.append(["bisonflex"])

pylint_dir = os.path.join('src', 'plantgl')

# Main setup
setup(
    name=name,
    version=version,
    description=description,
    long_description=long_description,
    author=authors,
Пример #12
0
metadata = read_metainfo('metainfo.ini', verbose=True)
for key,value in metadata.iteritems():
    exec("%s = '%s'" % (key, value))




build_prefix = "build-scons"

# Scons build directory
scons_parameters=["build_prefix="+build_prefix]

# dependencies
setup_requires = install_requires =[]
if sys.platform.startswith('win'):
    install_requires = [binary_deps('vplants.tool')]
    setup_requires = install_requires + ['openalea.deploy']
    setup_requires += ['bisonflex']

if __name__ == '__main__':

    setup(name=name,
          version=version,
          author=authors,
          author_email=authors_email,
          description='aml objects',
          url='http://www-sop.inria.fr/virtualplants/',
          license='GPL',

          # Define where to execute scons
          scons_scripts=['SConstruct'],