diff --git a/.github/workflows/kavian-app.yml b/.github/workflows/kavian-app.yml index 4fa6efd..6dc9b8e 100644 --- a/.github/workflows/kavian-app.yml +++ b/.github/workflows/kavian-app.yml @@ -27,7 +27,7 @@ jobs: run: | python -m pip install --upgrade pip pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install . - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 74215c3..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,2 +0,0 @@ -include README.md -include LICENSE \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..832f4f1 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,31 @@ +[project] +name = "kavian" +version = "0.2.0" +description = "Python statistical modeling toolkit with built-in Pandas and Scikit-Learn integration" +authors = [ + { name = "Adam Torres Encarnacion", email = "art5809@psu.edu" }, +] +license = { text = "MIT" } +readme = "README.md" +classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", +] +requires-python = ">=3.9" +dependencies = [ + "numpy", + "pandas", + "scikit-learn", + "rich", + "pytest", + "statsmodels", + "scipy" +] + +[project.urls] +repository = "https://github.com/AdamPSU/Kavian" + +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 18dfbdb..0000000 --- a/requirements.txt +++ /dev/null @@ -1,9 +0,0 @@ -pandas~=2.2.2 -numpy~=2.0.0 -seaborn~=0.13.2 -matplotlib~=3.9.1 -kavian~=0.2.0 -pytest~=8.3.1 -scikit-learn~=1.5.1 -rich~=13.7.1 -setuptools~=70.3.0 diff --git a/setup.py b/setup.py deleted file mode 100644 index 6ede93a..0000000 --- a/setup.py +++ /dev/null @@ -1,22 +0,0 @@ -from setuptools import setup, find_packages - -setup( - name="kavian", - version="0.2.0", - author="Adam Torres Encarnacion", - author_email="art5809@psu.edu", - description="Python statistical modeling toolkit with built-in Pandas and Scikit-Learn integration", - long_description=open('README.md').read(), - long_description_content_type="text/markdown", - url="https://github.com/AdamPSU/Kavian", - packages=find_packages(), - classifiers=[ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - ], - python_requires='>=3.9', - install_requires=[ - 'numpy', 'pandas', 'scikit-learn', 'rich', 'pytest', 'statsmodels', 'scipy' - ], -) \ No newline at end of file