Add requirements.txt
This commit is contained in:
		
							
								
								
									
										16
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								README.md
									
									
									
									
									
								
							@@ -1,5 +1,6 @@
 | 
			
		||||
# harmonyqml
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Dependencies setup
 | 
			
		||||
 | 
			
		||||
From your distribution's package manager, install:
 | 
			
		||||
@@ -38,23 +39,14 @@ To ensure that they're correctly set:
 | 
			
		||||
    sudo chmod 644 /usr/lib/qt5/qml/io/thp/pyotherside/*
 | 
			
		||||
    sudo chmod 755 /usr/lib/qt5/qml/io/thp/pyotherside/*.so
 | 
			
		||||
 | 
			
		||||
Install the Python 3 dependencies from Pypi:
 | 
			
		||||
Install the Python 3 dependencies:
 | 
			
		||||
 | 
			
		||||
    pip3 install --user --upgrade \
 | 
			
		||||
        Pillow aiofiles appdirs dataclasses filetype hsluv html_sanitizer \
 | 
			
		||||
        lxml mistune
 | 
			
		||||
    pip3 install --user -Ur requirements.txt
 | 
			
		||||
 | 
			
		||||
Optional dependency for performance improvements:
 | 
			
		||||
 | 
			
		||||
    pip3 install --user --upgrade uvloop
 | 
			
		||||
    pip3 install --user -U uvloop==0.13.0
 | 
			
		||||
 | 
			
		||||
Install the Python 3 dependencies from Github:
 | 
			
		||||
 | 
			
		||||
[matrix-nio](https://github.com/mirukan/matrix-nio):
 | 
			
		||||
 | 
			
		||||
    git clone https://github.com/mirukan/matrix-nio
 | 
			
		||||
    cd matrix-nio
 | 
			
		||||
    pip3 install --user --upgrade -e '.[e2e]'
 | 
			
		||||
 | 
			
		||||
## Building
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								TODO.md
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								TODO.md
									
									
									
									
									
								
							@@ -185,6 +185,5 @@
 | 
			
		||||
  - Previewing room without joining
 | 
			
		||||
 | 
			
		||||
- Distribution
 | 
			
		||||
  - requirements file
 | 
			
		||||
  - Include python dependencies in binary with rcc?
 | 
			
		||||
  - README.md
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										11
									
								
								requirements.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								requirements.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
hsluv          == 0.0.2
 | 
			
		||||
Pillow         >= 5.4.1, < 6
 | 
			
		||||
aiofiles       >= 0.4.0, < 0.5
 | 
			
		||||
appdirs        >= 1.4.3, < 2
 | 
			
		||||
filetype       >= 1.0.5, < 2
 | 
			
		||||
html_sanitizer >= 1.7.3, < 2
 | 
			
		||||
lxml           >= 4.4.1, < 5
 | 
			
		||||
mistune        >= 0.8.4, < 0.9
 | 
			
		||||
dataclasses    >= 0.6,   < 0.7; python_version < "3.7"
 | 
			
		||||
 | 
			
		||||
git+http://github.com/mirukan/matrix-nio#egg=matrix-nio[e2e]
 | 
			
		||||
		Reference in New Issue
	
	Block a user