charlesthomas / magpie

Git-backed Evernote replacement
MIT License
645 stars 50 forks source link

Unable to build using setup.py #67

Open NathanMarsh opened 9 years ago

NathanMarsh commented 9 years ago

I was trying to build it manually using "sudo python setup.py install" and it wasn't working. The error I got is:

~/Documents/magpie$ sudo python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to magpie.egg-info/requires.txt
writing magpie.egg-info/PKG-INFO
writing top-level names to magpie.egg-info/top_level.txt
writing dependency_links to magpie.egg-info/dependency_links.txt
writing entry points to magpie.egg-info/entry_points.txt
package init file 'magpie/static/__init__.py' not found (or not a regular file)
package init file 'magpie/template/__init__.py' not found (or not a regular file)
reading manifest file 'magpie.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'magpie.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/magpie
copying magpie/server.py -> build/lib.linux-x86_64-2.7/magpie
copying magpie/__init__.py -> build/lib.linux-x86_64-2.7/magpie
creating build/lib.linux-x86_64-2.7/magpie/config
copying magpie/config/__init__.py -> build/lib.linux-x86_64-2.7/magpie/config
creating build/lib.linux-x86_64-2.7/magpie/handler
copying magpie/handler/search.py -> build/lib.linux-x86_64-2.7/magpie/handler
copying magpie/handler/base.py -> build/lib.linux-x86_64-2.7/magpie/handler
copying magpie/handler/config.py -> build/lib.linux-x86_64-2.7/magpie/handler
copying magpie/handler/__init__.py -> build/lib.linux-x86_64-2.7/magpie/handler
copying magpie/handler/login.py -> build/lib.linux-x86_64-2.7/magpie/handler
copying magpie/handler/note.py -> build/lib.linux-x86_64-2.7/magpie/handler
copying magpie/handler/notebook.py -> build/lib.linux-x86_64-2.7/magpie/handler
copying magpie/handler/index.py -> build/lib.linux-x86_64-2.7/magpie/handler
copying magpie/config/pdf_scraper.cfg -> build/lib.linux-x86_64-2.7/magpie/config
copying magpie/config/web.cfg -> build/lib.linux-x86_64-2.7/magpie/config
copying magpie/config/email_notes.cfg -> build/lib.linux-x86_64-2.7/magpie/config
creating build/lib.linux-x86_64-2.7/magpie/static
error: can't copy 'magpie/static/img': doesn't exist or not a regular file

Does anyone know what is wrong?