File tree Expand file tree Collapse file tree 3 files changed +11
-26
lines changed
Expand file tree Collapse file tree 3 files changed +11
-26
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " autoarray"
7- dynamic = [" version" , " dependencies " ]
7+ dynamic = [" version" ]
88 description =" PyAuto Data Structures"
99readme = { file = " README.rst" , content-type = " text/x-rst" }
1010license-files = [
@@ -26,6 +26,16 @@ classifiers = [
2626 " Programming Language :: Python :: 3.12"
2727]
2828keywords = [" 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 ]
3141Homepage = " https://github.com/Jammy2211/PyAutoArray"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11import 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
163def 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- )
You can’t perform that action at this time.
0 commit comments