Skip to content

Commit 4791827

Browse files
Jammy2211Jammy2211
authored andcommitted
test
1 parent 1110895 commit 4791827

File tree

3 files changed

+11
-26
lines changed

3 files changed

+11
-26
lines changed

pyproject.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "autoarray"
7-
dynamic = ["version", "dependencies"]
7+
dynamic = ["version"]
88
description="PyAuto Data Structures"
99
readme = { file = "README.rst", content-type = "text/x-rst" }
1010
license-files = [
@@ -26,6 +26,16 @@ classifiers = [
2626
"Programming Language :: Python :: 3.12"
2727
]
2828
keywords = ["cli"]
29+
dependencies = [
30+
"autofit",
31+
"astropy>=5.0,<=6.1.2",
32+
"decorator>=4.0.0",
33+
"dill>=0.3.1.1",
34+
"matplotlib>=3.7.0",
35+
"scipy<=1.14.0",
36+
"scikit-image<=0.24.0",
37+
"scikit-learn<=1.5.1"
38+
]
2939

3040
[project.urls]
3141
Homepage = "https://github.com/Jammy2211/PyAutoArray"

requirements.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +0,0 @@
1-
astropy>=5.0,<=6.1.2
2-
decorator>=4.0.0
3-
dill>=0.3.1.1
4-
matplotlib>=3.7.0
5-
scipy<=1.14.0
6-
scikit-image<=0.24.0
7-
scikit-learn<=1.5.1

setup.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,8 @@
11
import os
2-
from codecs import open
3-
from os import environ
4-
from os.path import abspath, dirname, join
5-
6-
from setuptools import setup
7-
8-
this_dir = abspath(dirname(__file__))
9-
10-
with open(join(this_dir, "requirements.txt")) as f:
11-
requirements = f.read().split("\n")
12-
13-
version = environ.get("VERSION", "1.0.dev0")
14-
requirements.extend([f"autoconf=={version}"])
152

163
def config_packages(directory):
174
paths = [directory.replace("/", ".")]
185
for path, directories, filenames in os.walk(directory):
196
for directory in directories:
207
paths.append(f"{path}/{directory}".replace("/", "."))
218
return paths
22-
23-
setup(
24-
version=version,
25-
install_requires=requirements,
26-
)

0 commit comments

Comments
 (0)