Compare commits
	
		
			1 Commits
		
	
	
		
			c3a7cbcf64
			...
			requiremen
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						a31d9c8a75
	
				 | 
					
					
						
							
								
								
									
										21
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					VENV = venv
 | 
				
			||||||
 | 
					PYTHON = $(VENV)/bin/python3
 | 
				
			||||||
 | 
					PIP = $(VENV)/bin/pip
 | 
				
			||||||
 | 
					POSTERS = poster_light.png poster_dark.png
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					output: $(POSTERS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					poster_%.png: image_poster.py $(VENV)/bin/activate
 | 
				
			||||||
 | 
						$(PYTHON) $< 2>/dev/null
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$(VENV)/bin/activate: requirements.txt
 | 
				
			||||||
 | 
						python3 -m venv $(VENV)
 | 
				
			||||||
 | 
						echo '*' > $(VENV)/.gitignore
 | 
				
			||||||
 | 
						$(PIP) install -r requirements.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					clean:
 | 
				
			||||||
 | 
						$(RM) -r __pycache__
 | 
				
			||||||
 | 
						$(RM) -r $(VENV)
 | 
				
			||||||
 | 
						$(RM) *.png
 | 
				
			||||||
							
								
								
									
										4
									
								
								requirements.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								requirements.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					cairosvg
 | 
				
			||||||
 | 
					markdown
 | 
				
			||||||
 | 
					freetype-py
 | 
				
			||||||
 | 
					python-dateutil
 | 
				
			||||||
		Reference in New Issue
	
	Block a user