File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ dependencies = [
1313 " anacore == 2.12.1" ,
1414 " scikit-learn == 1.3.2"
1515]
16- dynamic = [" version" ]
16+ dynamic = [" version" , " scripts " ]
1717keywords = [" bio" , " NGS" ]
1818license.text = " GNU GPL v3"
1919name = " anacore-utils"
@@ -22,7 +22,4 @@ requires-python = ">=3.10"
2222
2323[project .urls ]
2424Homepage = " https://github.com/bialimed/anacore-utils"
25- Repository = " https://github.com/bialimed/anacore-utils"
26-
27- [tool .setuptools .packages .find ]
28- where = [' bin' ]
25+ Repository = " https://github.com/bialimed/anacore-utils"
Original file line number Diff line number Diff line change @@ -14,6 +14,21 @@ def get_version():
1414 return version
1515
1616
17+ def load_scripts (path ):
18+ scripts = []
19+ for filename in os .listdir (path ):
20+ filepath = os .path .join (path , filename )
21+ if os .path .isdir (filepath ):
22+ if filename != "test" :
23+ load_scripts (filepath )
24+ else :
25+ if filename .endswith (".py" ) and not filename .startswith ("__" ):
26+ scripts .append (filepath )
27+ print (scripts )
28+ return scripts
29+
30+
1731setup (
1832 version = get_version (),
33+ scripts = load_scripts ("bin" )
1934)
You can’t perform that action at this time.
0 commit comments