Don't duplicate requirements
This commit is contained in:
		
							parent
							
								
									fc6c503a47
								
							
						
					
					
						commit
						83f56dbf8d
					
				
					 4 changed files with 12 additions and 16 deletions
				
			
		
							
								
								
									
										3
									
								
								.github/workflows/checks.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/checks.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -23,7 +23,8 @@ jobs: | ||||||
|     - name: Install dependencies |     - name: Install dependencies | ||||||
|       run: | |       run: | | ||||||
|         python -m pip install --upgrade pip |         python -m pip install --upgrade pip | ||||||
|         python -m pip install -r .github/workflows/requirements.txt |         python -m pip install -r requirements.txt | ||||||
|  |         python -m pip install mypy pytest | ||||||
| 
 | 
 | ||||||
|     - name: Run MyPy |     - name: Run MyPy | ||||||
|       run: | |       run: | | ||||||
|  |  | ||||||
|  | @ -14,12 +14,7 @@ authors = [ | ||||||
| readme = "README.md" | readme = "README.md" | ||||||
| requires-python = ">=3.10" | requires-python = ">=3.10" | ||||||
| license = { text = "MIT" } | license = { text = "MIT" } | ||||||
| dependencies = [ | dynamic = ["version", "dependencies"] | ||||||
|     "requests ~= 2.31.0", |  | ||||||
|     "graphviz ~= 0.20.1", |  | ||||||
|     "dataclasses-json ~= 0.6.2", |  | ||||||
| ] |  | ||||||
| dynamic = ["version"] |  | ||||||
| 
 | 
 | ||||||
| [project.scripts] | [project.scripts] | ||||||
| ck = "cutekit:main" | ck = "cutekit:main" | ||||||
|  | @ -31,6 +26,7 @@ packages = ["cutekit"] | ||||||
| 
 | 
 | ||||||
| [tool.setuptools.dynamic] | [tool.setuptools.dynamic] | ||||||
| version = { attr = "cutekit.const.VERSION" } | version = { attr = "cutekit.const.VERSION" } | ||||||
|  | dependencies = { file = ["requirements.txt"] } | ||||||
| 
 | 
 | ||||||
| [tool.setuptools.package-data] | [tool.setuptools.package-data] | ||||||
| "cutekit" = ["py.typed"] | "cutekit" = ["py.typed"] | ||||||
|  |  | ||||||
|  | @ -1,5 +1,4 @@ | ||||||
| requests ~= 2.31.0 | requests ~= 2.31.0 | ||||||
| graphviz ~= 0.20.1 | graphviz ~= 0.20.1 | ||||||
| dataclasses-json ~= 0.6.2 | dataclasses-json ~= 0.6.2 | ||||||
| mypy ~= 1.7.0 | docker ~= 6.1.3 | ||||||
| pytest ~= 7.4.3 |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue