Commit 5c3b0075 authored by tihmels's avatar tihmels

UPDATE Projektstruktur

parent 620b424e
......@@ -4,7 +4,7 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/projectmood" isTestSource="false" />
</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" />
</component>
<component name="PackageRequirementsSettings">
......
<?xml version="1.0" encoding="UTF-8"?>
<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>
\ 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?
Setup
=====
1. Falls nicht vorhanden, pip installieren
1. Falls nicht vorhanden, pip installieren // Müsste mit python3 bereits installiert sein.
2. Pipenv installieren::
pip install pipenv
2. Falls nicht vorhanden, pip3 installieren::
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
import io
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
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')
with open("README.rst") as f:
long_description = f.read()
setup(
name='medienverarbeitung17.projectmood',
version='1.0',
packages=find_packages(),
name='projectmood',
version='0.1',
packages=['projectmood'],
url='',
license='Carl-von-Ossietzky Universitaet',
author='tjadoihmels',
author_email='tjado.ihmels@uni-oldenburg.de',
long_description=long_description,
install_requires=[
'opencv-python',
'numpy',
'matplotlib', ],
platforms='any',
description='Christina Tsiroglou, Arne Gerdes, Tjado Ihmels'
description='Christina Tsiroglou, Arne Gerdes, Tjado Ihmels',
)
Markdown is supported
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