Skip to content

Instantly share code, notes, and snippets.

@novoid
Created October 8, 2018 12:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save novoid/8468915f78e68e8d23c68f2e4df892e5 to your computer and use it in GitHub Desktop.
Save novoid/8468915f78e68e8d23c68f2e4df892e5 to your computer and use it in GitHub Desktop.
setup.py for Memacs (brainstorming)
# from distutils.core import setup
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
# workaround from https://github.com/pypa/setuptools/issues/308 to avoid "normalizing" version "2018.01.09" to "2018.1.9":
import pkg_resources
pkg_resources.extern.packaging.version.Version = pkg_resources.SetuptoolsLegacyVersion
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
#with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
# long_description = f.read()
setup(
name="memacs",
version="2018.10.08.1",
description="Visualize your (digital) life in Emacs Org mode by converting data to Org mode format",
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=["quantified self", "emacs", "org-mode", "org mode"],
packages=find_packages(), # Required
package_data={FIXXME},
install_requires=[FIXXME],
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
],
entry_points={ # Optional
'console_scripts': [
FIXXME
],
},
# long_description=long_description, # Optional
long_description="""This Python framework converts data from various sources to Org mode format
which may then included in Org mode agenda (calendar). This way, you get a 360-degree-view of your
digital life.
Each Memacs module converts a different input format into Org mode files.
- Target group: users of Emacs Org mode who are able to use command line tools
- Hosted and documented on github: https://github.com/novoid/memacs
"""
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment