Skip to content

Commit 9c551e8

Browse files
More stuff
1 parent 5104877 commit 9c551e8

File tree

4 files changed

+65
-2
lines changed

4 files changed

+65
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include README.md
2+
include LICENSE
3+
include pyproject.toml
4+
recursive-include spacetimeengine *.py
5+
recursive-include spacetimeengine/resources *
6+
recursive-include spacetimeengine/samples *

MANIFEST.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include README.md
2+
include LICENSE
3+
include pyproject.toml
4+
recursive-include spacetimeengine *.py
5+
recursive-include spacetimeengine/resources *
6+
recursive-include spacetimeengine/samples *

pyproject.toml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[build-system]
2+
requires = ["setuptools>=42", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "spacetimeengine"
7+
version = "0.1.11"
8+
description = "A Python physics utility which can analyze any given metric solution to the Einstein field equations."
9+
readme = "README.md"
10+
authors = [
11+
{ name = "Michael.C Ryan", email = "[email protected]" }
12+
]
13+
license = { text = "BSD License" }
14+
requires-python = ">=3.6"
15+
classifiers = [
16+
"Programming Language :: Python :: 3",
17+
"License :: OSI Approved :: BSD License",
18+
"Operating System :: OS Independent",
19+
"Topic :: Scientific/Engineering",
20+
"Topic :: Scientific/Engineering :: Mathematics",
21+
"Topic :: Scientific/Engineering :: Physics"
22+
]
23+
dependencies = [
24+
"sympy"
25+
]
26+
27+
[project.optional-dependencies]
28+
testing = [
29+
"nose"
30+
]
31+
32+
[tool.setuptools.packages.find]
33+
where = ["."]

setup.py

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,45 @@
66
setup(
77
name="spacetimeengine",
88
version="0.1.11",
9-
packages=find_packages(),
9+
packages=find_packages(include=["spacetimeengine", "spacetimeengine.*"]),
1010
author="Michael.C Ryan",
1111
author_email="[email protected]",
1212
description="A Python physics utility which can analyze any given metric solution to the Einstein field equations.",
1313
long_description=long_description,
1414
long_description_content_type="text/markdown",
1515
url="https://github.com/spacetimeengineer/spacetimeengine",
16+
project_urls={
17+
"Documentation": "https://github.com/spacetimeengineer/spacetimeengine#readme",
18+
"Source": "https://github.com/spacetimeengineer/spacetimeengine",
19+
"Tracker": "https://github.com/spacetimeengineer/spacetimeengine/issues",
20+
},
21+
license="BSD License",
1622
install_requires=[
17-
"sympy"
23+
"sympy>=1.0"
1824
],
25+
extras_require={
26+
"testing": ["nose"]
27+
},
1928
tests_require=[
2029
"nose"
2130
],
2231
test_suite="nose.collector",
2332
classifiers=[
33+
"Development Status :: 4 - Beta",
34+
"Intended Audience :: Science/Research",
2435
"Programming Language :: Python :: 3",
36+
"Programming Language :: Python :: 3.6",
37+
"Programming Language :: Python :: 3.7",
38+
"Programming Language :: Python :: 3.8",
39+
"Programming Language :: Python :: 3.9",
40+
"Programming Language :: Python :: 3.10",
2541
"License :: OSI Approved :: BSD License",
2642
"Operating System :: OS Independent",
2743
"Topic :: Scientific/Engineering",
2844
"Topic :: Scientific/Engineering :: Mathematics",
2945
"Topic :: Scientific/Engineering :: Physics",
3046
],
3147
python_requires=">=3.6",
48+
include_package_data=True, # Ensures files specified in MANIFEST.in are included
49+
zip_safe=False, # Ensures the package can be safely installed as a directory
3250
)

0 commit comments

Comments
 (0)