Permalink
Browse files

Merge a447c88 into 2e2c103

  • Loading branch information...
lukeplausin committed Feb 10, 2019
2 parents 2e2c103 + a447c88 commit f11bce86786568081bffbfadd36ed51e23c28c5e
Showing with 168 additions and 7 deletions.
  1. +126 −0 .gitignore
  2. +2 −4 Readme.md
  3. +1 −1 app/Readme.md
  4. +1 −1 elodie.spec
  5. 0 { → elodie}/elodie.py
  6. +1 −1 elodie/tests/elodie_test.py
  7. +28 −0 setup.cfg
  8. +9 −0 setup.py
@@ -10,3 +10,129 @@ build/**
**/*.nef
**/*.rw2
env/**

# Electron App builds
Elodie-darwin-*/
Elodie-Windows-*/
Elodie-linux-*/

# NPM
package-lock.json

# PYTHON gitignore below
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/
@@ -29,12 +29,10 @@ dnf install perl-Image-ExifTool

### Clone the Elodie repository

You can clone Elodie from GitHub. You'll need `git` installed ([instructions](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)).
You can clone Elodie from GitHub. You'll need `pip` and `git` installed ([instructions](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)).

```
git clone https://github.com/jmathai/elodie.git
cd elodie
pip install -r requirements.txt
pip install git+https://github.com/jmathai/elodie.git
```

### Give Elodie a test drive
@@ -48,7 +48,7 @@ I'm going to assume you've got *Node.js* installed. I've successfully built the

```
# use --platform=win32 for Windows or --platform=linux for linux
electron-packager . Elodie --platform=darwin --arch=x64 --version=0.34.2 --overwrite
electron-packager . Elodie --platform=darwin --arch=x64 --electron-version=0.34.2 --overwrite
```

This will create a folder named `Elodie-darwin-x64` which contains the executable. Running the executable should add my face to your taskbar which you can click on or drag photos over.
@@ -3,7 +3,7 @@
block_cipher = None


a = Analysis(['elodie.py'],
a = Analysis(['elodie/elodie.py'],
pathex=['/Users/jaisenmathai/dev/tools/elodie'],
binaries=None,
datas=[('configs/ExifTool_config', 'configs')],
File renamed without changes.
@@ -15,7 +15,7 @@
sys.path.insert(0, os.path.abspath(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))))))

import helper
elodie = load_source('elodie', os.path.abspath('{}/../../elodie.py'.format(os.path.dirname(os.path.realpath(__file__)))))
elodie = load_source('elodie', os.path.abspath('{}/../elodie.py'.format(os.path.dirname(os.path.realpath(__file__)))))

from elodie.config import load_config
from elodie.localstorage import Db
@@ -0,0 +1,28 @@
[metadata]
name = elodie
version = 1.0
summary = Your Personal EXIF-based Photo, Video and Audio Assistant.
classifier =
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Developers
Intended Audience :: End Users/Desktop
Operating System :: OS Independent
Programming Language :: Python
Topic :: Artistic Software
Topic :: Multimedia :: Graphics
Topic :: Multimedia :: Graphics :: Viewers
Topic :: Multimedia :: Sound/Audio
Topic :: Photography
Topic :: Utilities

[files]
packages =
elodie

[entry_points]
console_scripts =
elodie = elodie.elodie:main

[backwards_compat]
include_package_data = true
@@ -0,0 +1,9 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-

from setuptools import setup

setup(
setup_requires=['pbr'],
pbr=True,
)

0 comments on commit f11bce8

Please sign in to comment.