Commit 5c3b0075 authored by tihmels's avatar tihmels
Browse files

UPDATE Projektstruktur

parent 620b424e
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/projectmood" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/projectmood" isTestSource="false" />
</content> </content>
<orderEntry type="jdk" jdkName="Python 3.6.3 virtualenv at ~/.local/share/virtualenvs/medienverarbeitung17.projectmood-swI6hODc" jdkType="Python SDK" /> <orderEntry type="jdk" jdkName="Python 3.6.3 virtualenv at ~/Jetbrains/PyCharm/Medienverarbeitung/medienverarbeitung17.projectmood/venv" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
<component name="PackageRequirementsSettings"> <component name="PackageRequirementsSettings">
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6.3 virtualenv at ~/.local/share/virtualenvs/medienverarbeitung17.projectmood-swI6hODc" project-jdk-type="Python SDK" /> <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6.3 virtualenv at ~/Jetbrains/PyCharm/Medienverarbeitung/medienverarbeitung17.projectmood/venv" project-jdk-type="Python SDK" />
</project> </project>
\ No newline at end of file
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"
[requires]
python_version = '3.6'
[packages]
opencv-python = "*"
matplotlib = "*"
[dev-packages]
...@@ -9,14 +9,24 @@ Topic H - What mood expression is this? ...@@ -9,14 +9,24 @@ Topic H - What mood expression is this?
Setup Setup
===== =====
1. Falls nicht vorhanden, pip installieren 1. Falls nicht vorhanden, pip installieren // Müsste mit python3 bereits installiert sein.
2. Pipenv installieren:: 2. Falls nicht vorhanden, pip3 installieren::
pip install pipenv
3. Im Projektordner pipenv ausführen:: pip install pip3
pipenv install **Info**: pip verwendet zur Installation der Packages einen Python 2.7 Interpreter. pip3 hingegen verwendet Python3.
3. Eine Virtuelle Umgebung im lokalen Projektordner anlegen::
cd /Pfad/zum/Projekt
python3 -m venv
4. Umgebung in der Konsole aktivieren::
venv\Scripts\activate.bat
5. Dependencies aus requirements.txt installieren::
pip3 install -r requirements.txt
Pipenv wird dann eine virtuelle Umgebung für das Projekt anlegen und alle Dependencies installieren.
\ No newline at end of file
cycler==0.10.0
matplotlib==2.1.0
numpy==1.13.3
opencv-python==3.3.0.10
pyparsing==2.2.0
python-dateutil==2.6.1
pytz==2017.2
six==1.11.0
from setuptools import setup, find_packages from setuptools import setup, find_packages
import io import io
def read(*filenames, **kwargs): with open("README.rst") as f:
encoding = kwargs.get('encoding', 'utf-8') long_description = f.read()
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
long_description = read('README.rst')
setup( setup(
name='medienverarbeitung17.projectmood', name='projectmood',
version='1.0', version='0.1',
packages=find_packages(), packages=['projectmood'],
url='', url='',
license='Carl-von-Ossietzky Universitaet', license='Carl-von-Ossietzky Universitaet',
author='tjadoihmels', author='tjadoihmels',
author_email='tjado.ihmels@uni-oldenburg.de', author_email='tjado.ihmels@uni-oldenburg.de',
long_description=long_description, long_description=long_description,
install_requires=[
'opencv-python',
'numpy',
'matplotlib', ],
platforms='any', platforms='any',
description='Christina Tsiroglou, Arne Gerdes, Tjado Ihmels' description='Christina Tsiroglou, Arne Gerdes, Tjado Ihmels',
) )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment