forked from tpd94/CDRM-Project
		
	rollback check to 3.12
This commit is contained in:
		
							parent
							
								
									a5b0deb8fd
								
							
						
					
					
						commit
						c55b56ccb0
					
				@ -4,7 +4,7 @@
 | 
			
		||||
  
 | 
			
		||||
## Prerequisites  (from source only)
 | 
			
		||||
  
 | 
			
		||||
 - [Python](https://www.python.org/downloads/) version [3.13](https://www.python.org/downloads/release/python-3130/?featured_on=pythonbytes)+ with PIP and VENV installed  
 | 
			
		||||
 - [Python](https://www.python.org/downloads/) version [3.12](https://www.python.org/downloads/release/python-3120/)+ with PIP and VENV installed  
 | 
			
		||||
  
 | 
			
		||||
   > Python 3.13 was used at the time of writing  
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@
 | 
			
		||||
- Extract contents of CDRM-Project 2.0 git contents into a new folder
 | 
			
		||||
- Open a terminal and change directory into the new folder
 | 
			
		||||
- Run `python main.py`
 | 
			
		||||
- Follow the on screen prompts
 | 
			
		||||
- Follow the on-screen prompts
 | 
			
		||||
 | 
			
		||||
## Installation (From binary)
 | 
			
		||||
- Download the latest release from the [releases](https://cdm-project.com/tpd94/CDRM-Project/releases) page and run the `.exe`
 | 
			
		||||
 | 
			
		||||
@ -8,12 +8,12 @@ def version_check():
 | 
			
		||||
    minor_version = sys.version_info.minor
 | 
			
		||||
 | 
			
		||||
    if major_version >= 3:
 | 
			
		||||
        if minor_version >= 13:
 | 
			
		||||
        if minor_version >= 12:
 | 
			
		||||
            return
 | 
			
		||||
        else:
 | 
			
		||||
            exit("Python version 3.13 or higher is required")
 | 
			
		||||
            exit("Python version 3.12 or higher is required")
 | 
			
		||||
    else:
 | 
			
		||||
        exit("Python 2 detected, Python version 3.13 or higher is required")
 | 
			
		||||
        exit("Python 2 detected, Python version 3.12 or higher is required")
 | 
			
		||||
 | 
			
		||||
def pip_check():
 | 
			
		||||
    try:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user