From aa21e0f8d442137060a44fb93eba15ed55bf8e74 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 15 Dec 2015 23:52:19 +0300 Subject: [PATCH] Initial commit - created the project --- .gitattributes | 1 + .gitignore | 1 + ChangeLog | 1 + MANIFEST.in | 2 ++ README.txt | 7 +++++++ TODO | 13 +++++++++++++ m_librarian/__init__.py | 1 + m_librarian/__version__.py | 1 + setup.py | 29 +++++++++++++++++++++++++++++ update | 2 ++ 10 files changed, 58 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ChangeLog create mode 100644 MANIFEST.in create mode 100644 README.txt create mode 100644 TODO create mode 100644 m_librarian/__init__.py create mode 100644 m_librarian/__version__.py create mode 100755 setup.py create mode 100755 update diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e4504cf --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.git* export-ignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..539da74 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.py[co] diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..a84015e --- /dev/null +++ b/ChangeLog @@ -0,0 +1 @@ +Version 0.0.1 (2015-12-15) diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..bb219c8 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include MANIFEST.in TODO +recursive-include m_librarian diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..734a913 --- /dev/null +++ b/README.txt @@ -0,0 +1,7 @@ +Broytman Librarian, Copyright (C) 2015 PhiloSoft Design +Author: Oleg Broytman +License: GPL + +This hopefully will be a collection of programs to index LibRusEc and +Flibusta libraries (zipfiles from torrents, actually) and show their +contents with command-line, GUI and web interfaces. diff --git a/TODO b/TODO new file mode 100644 index 0000000..9e3c236 --- /dev/null +++ b/TODO @@ -0,0 +1,13 @@ +Convert *.inp(x) to SQL. + + +Library for searching through collections. + + +Command-line scripts for listing authors, books, series, etc. + + +GUI scripts for listing authors, books, series, etc. + + +Web interface for listing authors, books, series, etc. diff --git a/m_librarian/__init__.py b/m_librarian/__init__.py new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/m_librarian/__init__.py @@ -0,0 +1 @@ +# diff --git a/m_librarian/__version__.py b/m_librarian/__version__.py new file mode 100644 index 0000000..b8023d8 --- /dev/null +++ b/m_librarian/__version__.py @@ -0,0 +1 @@ +__version__ = '0.0.1' diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..d1a3919 --- /dev/null +++ b/setup.py @@ -0,0 +1,29 @@ +#!/usr/bin/env python + +from imp import load_source +from os.path import abspath, dirname, join + +try: + from ez_setup import use_setuptools + use_setuptools() + from setuptools import setup + is_setuptools = True +except ImportError: + from distutils.core import setup + is_setuptools = False + +versionpath = join(abspath(dirname(__file__)), 'm_librarian', '__version__.py') +load_source('m_librarian_version', versionpath) +from m_librarian_version import __version__ + +setup(name='m_librarian', + version=__version__, + description='Librarian for LibRusEc/Flibusta libraries', + long_description=open('README.txt', 'rtU').read(), + author='Oleg Broytman', + author_email='phd@phdru.name', + url='http://phdru.name/Software/Python/', + license='GPL', + packages=['m_librarian'], + requires=['SQLObject'], + ) diff --git a/update b/update new file mode 100755 index 0000000..690ecaa --- /dev/null +++ b/update @@ -0,0 +1,2 @@ +#! /bin/sh +exec "$HOME"/admin/prog/git-scripts/update -- 2.39.5