Esempio n. 1
0
install_requires = [
    'matplotlib>=2.2',
    'amuse-framework',
    'amuse-bhtree',
    'amuse-hermite',
    'amuse-seba',
    'amuse-sphray',
    'notebook',
]
description = 'The Astrophysical Multipurpose Software Environment - tutorial'
with open("README.md", "r") as fh:
    long_description = fh.read()
long_description_content_type = "text/markdown"

all_data_files = find_data_files('tutorial',
                                 'share/amuse/tutorial',
                                 '*',
                                 recursive=True)

try:
    from tutorial.version import version
    use_scm_version = False
    setup_requires = []
except ImportError:
    version = False
    setup_requires = ['setuptools_scm']
    use_scm_version = {
        "root": "../..",
        "relative_to": __file__,
        "write_to": "tutorial/version.py",
    }
Esempio n. 2
0
    'Intended Audience :: Science/Research',
    'License :: OSI Approved :: Apache Software License',
    'Operating System :: MacOS :: MacOS X',
    'Operating System :: POSIX',
    'Programming Language :: Python :: 2.6',
    'Programming Language :: Python :: 2.7',
    'Programming Language :: Python :: 3',
    'Programming Language :: C',
    'Programming Language :: C++',
    'Programming Language :: Fortran',
    'Topic :: Scientific/Engineering :: Astronomy',
]

extensions = []

all_data_files = find_data_files('data', 'share/amuse/data', '*', recursive=True)
all_data_files.append(('share/amuse', ['./config.mk', './build.py']))

packages = find_packages('src')
packages.extend(['amuse.test.suite.' + x for x in find_packages('test')])
packages.extend(['amuse.examples.' + x for x in find_packages('examples')])

package_data = {
    'amuse.rfi.tools': ['*.template'],
    'amuse.test.suite.core_tests': [
        '*.txt', '*.dyn', '*.ini',
        '*.nemo',
        '*.dat', 'gadget_snapshot'
    ],
    'amuse.test.suite.codes_tests': [
        '*.txt', 'test_sphray_data*'