From ce5f57a6ce0435938d9442feb604beb968b5102f Mon Sep 17 00:00:00 2001 From: nathaniel smith Date: Tue, 29 Aug 2017 00:33:03 -0700 Subject: [PATCH] start on python package --- setup.py | 27 +++++++++++++++++++++++++++ tildewiki/main.py | 7 +++++++ 2 files changed, 34 insertions(+) create mode 100644 setup.py create mode 100644 tildewiki/main.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..c49fd15 --- /dev/null +++ b/setup.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python + +from setuptools import setup + +setup( + name='tildewiki', + version='1.0.0', + description='small utility for managing a wiki a la tilde.town', + url='https://github.com/tildetown/tilde-wiki', + author='vilmibm shaksfrpease', + author_email='nks@neongrid.space', + license='GPL', + classifiers=[ + 'Topic :: Artistic Software', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + ], + keywords='wiki', + packages=['tildewiki'], + install_requires = ['Markdown==2.6.9', + 'click==6.7', + 'pygit2==0.24.1'], # matches current libgit2-dev version in ubuntu LTS + entry_points = { + 'console_scripts': [ + 'wiki = tildewiki.main:main' + ] + }, +) diff --git a/tildewiki/main.py b/tildewiki/main.py new file mode 100644 index 0000000..ad43611 --- /dev/null +++ b/tildewiki/main.py @@ -0,0 +1,7 @@ +import sys + +import click + +def main(): + print('AWWWWWWW YISSSSS') + sys.exit(0)