Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added setup.py for uploading to pypi

Signed-off-by: Armin Wieser <armin.wieser@gmail.com>
  • Loading branch information...
commit aaad0ca92bf223fa358b50d4852de393531795ec 1 parent 9d793a9
@awieser awieser authored
View
3  .gitignore
@@ -13,6 +13,7 @@ rss/vktmp
rss/error.org_archive
filenametimestamps/vktmp/
benchmarking
-Makefile
core
vktmp
+dist/
+MANIFEST
View
46 Makefile
@@ -0,0 +1,46 @@
+# note: This file is just for development purposes
+
+
+all: clean quiettest whitespace todo pep8
+
+whitespace:
+ @echo "removing trailing whitespaces"
+ @find . -name "*.py" -exec remove-trailing-whitespace.py {} \;
+
+test:
+ @nosetests
+
+quiettest:
+ @nosetests >/dev/null 2>&1 || echo "!!!!!!!!!!!! \n nosetests has errors\n!!!!!!!!!!!!\n"
+
+todo:
+ @echo "TODO:"
+ @grep -Hnr TODO * | grep -v Makefile | grep -v ".pyc" | grep -v ".py~" | grep ".py" | grep -v "tmp" || echo
+
+pep8:
+ @echo "pep8:"
+ @find . -name "*.py" -exec pep8 {} \; | grep -v "tmp" || echo
+
+pylint:
+ @echo "pylint:"
+ @find . -name "*.py" -exec pylint {} \; | grep -v "tmp" || echo
+
+
+exec:
+ @echo "executing all crontab entries"
+ @crontab -l | grep . | grep -v "#" | cut -d '*' -f6- | /bin/sh
+
+clean:
+ @find -name "*.pyc" -exec rm {} \;
+ @find -name "*~" -exec rm {} \;
+ @find -name "#*" -exec rm {} \;
+ @find -name ".#*" -exec rm {} \;
+ @rm -rf core
+ @rm -rf MANIFEST build/ dist
+
+countorgmodeentries:
+ @echo "number of orgmode-entries in ~/orgmode/memacs/*.org_archive:"
+ @grep -Hnr "\*\*" ~/orgmode/memacs/*.org_archive | wc
+
+upload:
+ python setup.py sdist upload
View
1  README.txt
@@ -0,0 +1 @@
+See Readme.org (open with GNU Emacs)
View
0  bin/__init__.py
No changes.
View
40 setup.py
@@ -0,0 +1,40 @@
+from distutils.core import setup
+import glob
+
+setup(
+ name = "memacs",
+ packages = ["bin","memacs","memacs/lib", "memacs/lib/tests", "memacs/tests"],
+ version = "0.0.13",
+ description = "Memacs extracts metadata from many different existing data sources on your computer and generates files which are readable by GNU Emacs(Org-Mode).",
+ author = "Karl Voit",
+ author_email = "tools@Karl-Voit.at",
+ url = "https://github.com/novoid/Memacs",
+ download_url = "https://github.com/novoid/Memacs/zipball/master",
+ keywords = ["org-mode", "org"],
+ scripts = glob.glob("bin/memacs_*"),
+ install_requires = ["PIL","icalendar","feedparser"],
+ classifiers = [
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 2.7",
+ "Development Status :: 4 - Beta",
+ "Environment :: Other Environment",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: GNU General Public License (GPL)",
+ "Operating System :: OS Independent",
+ ],
+ long_description = """\
+Memacs
+-----------------------------
+*What were you doing* on February 14th of 2007? On *which tasks* were
+you working on that very day you met your girl friend? When was the
+*last appointments* with your dentist? *Who called* you on telephone
+during that meeting with your customer last month?
+
+Most people can not answer such questions. *With Memacs you can!*
+
+Memacs extracts metadata (subjects, timestamps, contact information,
+...) from many different existing data sources (file names, emails,
+tweets, bookmarks, ...) on your computer and generates files which are
+readable by GNU Emacs with Org-mode.
+"""
+)
Please sign in to comment.
Something went wrong with that request. Please try again.