|
| 1 | +#!/usr/bin/env python3 |
| 2 | +from support.classifiers import classifiers |
| 3 | + |
| 4 | +from setuptools import setup |
| 5 | + |
| 6 | +import support |
| 7 | +support.use("system") |
| 8 | +from support.setup_codes import setup_commands |
| 9 | + |
| 10 | +name = 'amuse-hermite-grx' |
| 11 | +author = 'The AMUSE team' |
| 12 | +author_email = 'info@amusecode.org' |
| 13 | +license_ = "Apache License 2.0" |
| 14 | +url = 'http://www.amusecode.org/' |
| 15 | +install_requires = [ |
| 16 | + 'amuse-framework', |
| 17 | +] |
| 18 | +description = 'The Astrophysical Multipurpose Software Environment - Hermite-GRX' |
| 19 | +with open("README.md", "r") as fh: |
| 20 | + long_description = fh.read() |
| 21 | +long_description_content_type = "text/markdown" |
| 22 | + |
| 23 | +extensions = [] |
| 24 | + |
| 25 | +all_data_files = [] |
| 26 | + |
| 27 | +packages = [ |
| 28 | + 'amuse.community.hermite_grx', |
| 29 | +] |
| 30 | + |
| 31 | +package_data = { |
| 32 | +} |
| 33 | + |
| 34 | +mapping_from_command_name_to_command_class = setup_commands() |
| 35 | + |
| 36 | +setup_requires = ['setuptools_scm'] |
| 37 | +use_scm_version = { |
| 38 | + "root": "../..", |
| 39 | + "relative_to": __file__, |
| 40 | + "version_file": "src/amuse/community/hermite_grx/_version.py", |
| 41 | +} |
| 42 | + |
| 43 | +setup( |
| 44 | + name=name, |
| 45 | + use_scm_version=use_scm_version, |
| 46 | + setup_requires=setup_requires, |
| 47 | + classifiers=classifiers, |
| 48 | + url=url, |
| 49 | + author_email=author_email, |
| 50 | + author=author, |
| 51 | + license=license_, |
| 52 | + description=description, |
| 53 | + long_description=long_description, |
| 54 | + long_description_content_type=long_description_content_type, |
| 55 | + install_requires=install_requires, |
| 56 | + python_requires=">=3.7", |
| 57 | + cmdclass=mapping_from_command_name_to_command_class, |
| 58 | + ext_modules=extensions, |
| 59 | + package_dir={ |
| 60 | + 'amuse.community.hermite_grx': 'src/amuse/community/hermite_grx', |
| 61 | + }, |
| 62 | + packages=packages, |
| 63 | + package_data=package_data, |
| 64 | + data_files=all_data_files, |
| 65 | +) |
0 commit comments