-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (30 loc) · 924 Bytes
/
setup.py
File metadata and controls
32 lines (30 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from setuptools import setup, find_packages
import tomli
# Read version from pyproject.toml
with open("pyproject.toml", "rb") as f:
pyproject = tomli.load(f)
version = pyproject["project"]["version"]
setup(
name="pynanigans",
version=version,
packages=find_packages(),
install_requires=[
"numpy",
"xarray",
"xgcm",
"matplotlib",
],
python_requires=">=3.9",
author="Tomas Chor",
author_email="contact@tomaschor.xyz",
description="A Python package for working with Oceananigans data",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/yourusername/pynanigans",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
],
)