-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include support/__init__.py | ||
include support/setup_codes.py | ||
include support/version.py | ||
include support/classifiers.py | ||
include pyproject.toml | ||
|
||
recursive-include src * | ||
recursive-exclude src *.pyc *.o *~ .pc ccache *.a | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This package installs the Hermite-GRX community code for AMUSE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[build-system] | ||
requires = ["setuptools>=65.0.0", "wheel>=0.30", "amuse-framework>=2024.3.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
#!/usr/bin/env python3 | ||
from support.classifiers import classifiers | ||
|
||
from setuptools import setup | ||
|
||
import support | ||
support.use("system") | ||
from support.setup_codes import setup_commands | ||
|
||
name = 'amuse-hermite-grx' | ||
author = 'The AMUSE team' | ||
author_email = '[email protected]' | ||
license_ = "Apache License 2.0" | ||
url = 'http://www.amusecode.org/' | ||
install_requires = [ | ||
'amuse-framework', | ||
] | ||
description = 'The Astrophysical Multipurpose Software Environment - Hermite-GRX' | ||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
long_description_content_type = "text/markdown" | ||
|
||
extensions = [] | ||
|
||
all_data_files = [] | ||
|
||
packages = [ | ||
'amuse.community.hermite_grx', | ||
] | ||
|
||
package_data = { | ||
} | ||
|
||
mapping_from_command_name_to_command_class = setup_commands() | ||
|
||
setup_requires = ['setuptools_scm'] | ||
use_scm_version = { | ||
"root": "../..", | ||
"relative_to": __file__, | ||
"version_file": "src/amuse/community/hermite_grx/_version.py", | ||
} | ||
|
||
setup( | ||
name=name, | ||
use_scm_version=use_scm_version, | ||
setup_requires=setup_requires, | ||
classifiers=classifiers, | ||
url=url, | ||
author_email=author_email, | ||
author=author, | ||
license=license_, | ||
description=description, | ||
long_description=long_description, | ||
long_description_content_type=long_description_content_type, | ||
install_requires=install_requires, | ||
python_requires=">=3.7", | ||
cmdclass=mapping_from_command_name_to_command_class, | ||
ext_modules=extensions, | ||
package_dir={ | ||
'amuse.community.hermite_grx': 'src/amuse/community/hermite_grx', | ||
}, | ||
packages=packages, | ||
package_data=package_data, | ||
data_files=all_data_files, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../src/amuse/community/hermite_grx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../support |