Skip to content

Commit

Permalink
Adding Requirements.txt and Project Build Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohambutala committed Feb 7, 2024
1 parent 874c052 commit e41f401
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 17 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include LICENSE
include README.md
include requirements.txt

recursive-exclude jupyterbook *
recursive-exclude docs *
recursive-exclude notebooks *
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ requires = [
"setuptools_scm[toml] >= 4, <6",
"setuptools_scm_git_archive",
"wheel >= 0.29.0",
"setuptools-git-versioning"
]
build-backend = 'setuptools.build_meta'

[tool.setuptools_scm]
fallback_version = "unknown"
local_scheme = "node-and-date"
local_scheme = "no-local-version"
write_to = "echoflow/version.py"

[tool.black]
Expand Down
12 changes: 12 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
requests
prefect>=2
echopype>=0.6.3
jinja2
prefect-dask
pydantic
prefect-aws
prefect-azure
prefect-dask
jupyter
jupyter-book
fastapi
18 changes: 3 additions & 15 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[metadata]
name = echoflow
# version = 0.1.1
maintainer = Soham Butala
maintainer_email = [email protected]
description = Sonar conversion pipeline tool with echopype
Expand All @@ -17,27 +18,14 @@ classifiers =
Programming Language :: Python :: 3.10
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Scientific/Engineering
author = Landung Setiawan
author_email = [email protected]
author = Soham Butala and Landung Setiawan
author_email = [email protected] | [email protected]
platforms = OS Independent

[options]
packages = find:
platforms = any
include_package_data = True
install_requires =
requests
prefect>=2
echopype>=0.6.3
jinja2
prefect-dask
pydantic
prefect-aws
prefect-azure
prefect-dask
jupyter
jupyter-book
fastapi
python_requires = >=3.8,<3.11
setup_requires =
setuptools_scm
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
from setuptools import setup

def read_requirements():
with open('requirements.txt') as req:
return req.read().splitlines()

if __name__ == "__main__":
setup()
setup(install_requires=read_requirements())

0 comments on commit e41f401

Please sign in to comment.