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
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
										
									
									
									
								
							|  | @ -20,17 +20,17 @@ | ||||||
| - [Example](#example) | - [Example](#example) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ## Introduction  | ## Introduction | ||||||
| 
 | 
 | ||||||
| **CuteKit** is a simple - yet - powerful build system and package manager for C and C++. It:  | **CuteKit** is a simple - yet - powerful build system and package manager for C and C++. It: | ||||||
| 
 | 
 | ||||||
| - ✨ It uses **JSON**: Cutekit uses JSON instead of introducing a whole new programming language for describing the project. And also has macros to help the user experience (see [Jexpr](doc/spec/jexpr.md)). | - ✨ It uses **JSON**: Cutekit uses JSON instead of introducing a whole new programming language for describing the project. And also has macros to help the user experience (see [Jexpr](doc/spec/jexpr.md)). | ||||||
| - ✨ It's a **package manager**: Cutekit package manager is based on **Git**, nothing is centralized. | - ✨ It's a **package manager**: Cutekit package manager is based on **Git**, nothing is centralized. | ||||||
| - ✨ It's **extendible**: Cutekit can be [extended](./doc/extends.md) by writing custom Python plugins.  | - ✨ It's **extendible**: Cutekit can be [extended](./doc/extends.md) by writing custom Python plugins. | ||||||
| - ✨ It's **easy**: the [**templates**](./doc/templates.md) help the user quick-start a project. | - ✨ It's **easy**: the [**templates**](./doc/templates.md) help the user quick-start a project. | ||||||
| - ✨ It's **portable**: Cutekit can run on MacOS Gnu/Linux and Windows. | - ✨ It's **portable**: Cutekit can run on MacOS Gnu/Linux and Windows. | ||||||
| 
 | 
 | ||||||
| ## Installation  | ## Installation | ||||||
| 
 | 
 | ||||||
| To install Cutekit, you may use your favourite package manager if it is available. Or you can install it manually by following the instructions below. | To install Cutekit, you may use your favourite package manager if it is available. Or you can install it manually by following the instructions below. | ||||||
| 
 | 
 | ||||||
|  | @ -45,13 +45,13 @@ $ cd cutekit | ||||||
| $ pip install --user -e . | $ pip install --user -e . | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ## Quick-start  | ## Quick-start | ||||||
| 
 | 
 | ||||||
| -> If you directly want to start using Cutekit for a new project, you can just run `$ ck I host` and it will create a new project in the host directory (you can rename it later).  | -> If you directly want to start using Cutekit for a new project, you can just run `$ ck I host` and it will create a new project in the host directory (you can rename it later). | ||||||
| 
 | 
 | ||||||
| -> If you want to use Cutekit for writing operating systems, you can create a new [limine](https://github.com/limine-bootloader/limine/)-based project by running `$ ck I limine-barebone`. | -> If you want to use Cutekit for writing operating systems, you can create a new [limine](https://github.com/limine-bootloader/limine/)-based project by running `$ ck I limine-barebone`. | ||||||
| 
 | 
 | ||||||
| ## Example  | ## Example | ||||||
| 
 | 
 | ||||||
| If you want to see how it works you can read the [doc/cutekit.md](doc/cutekit.md) file. | If you want to see how it works you can read the [doc/cutekit.md](doc/cutekit.md) file. | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -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