From bd88811dea850c9150632e46b31cf33576ff13d7 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 3 Jul 2008 11:23:42 +0200 Subject: [PATCH] rename oxutils -> oxlib --- README | 16 ++++++++-------- {oxutils => oxlib}/__init__.py | 0 {oxutils => oxlib}/cache.py | 0 {oxutils => oxlib}/format.py | 0 {oxutils => oxlib}/hashes.py | 0 {oxutils => oxlib}/html.py | 0 {oxutils => oxlib}/lang.py | 0 {oxutils => oxlib}/net.py | 0 {oxutils => oxlib}/normalize.py | 0 {oxutils => oxlib}/text.py | 0 {oxutils => oxlib}/torrent.py | 0 setup.py | 6 +++--- 12 files changed, 11 insertions(+), 11 deletions(-) rename {oxutils => oxlib}/__init__.py (100%) rename {oxutils => oxlib}/cache.py (100%) rename {oxutils => oxlib}/format.py (100%) rename {oxutils => oxlib}/hashes.py (100%) rename {oxutils => oxlib}/html.py (100%) rename {oxutils => oxlib}/lang.py (100%) rename {oxutils => oxlib}/net.py (100%) rename {oxutils => oxlib}/normalize.py (100%) rename {oxutils => oxlib}/text.py (100%) rename {oxutils => oxlib}/torrent.py (100%) diff --git a/README b/README index fd7ca1a..5bada5c 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -python-oxutils some tools to build tools +python-oxlib some tools to build tools Depends: python2.5 @@ -6,16 +6,16 @@ Depends: BitTornado(optional) Usage: - import oxutils + import oxlib - data = oxutils.cache.readUrl('http:/...') - text = oxutils.stripTags(data) - oxutils.normalizeNewlines(text) - oxutils.formatBytes(len(data)) + data = oxlib.cache.readUrl('http:/...') + text = oxlib.stripTags(data) + oxlib.normalizeNewlines(text) + oxlib.formatBytes(len(data)) - oxutils.formatBytes(1234567890) + oxlib.formatBytes(1234567890) '1.15 GB' Tests: - nosetests --with-doctest oxutils + nosetests --with-doctest oxlib diff --git a/oxutils/__init__.py b/oxlib/__init__.py similarity index 100% rename from oxutils/__init__.py rename to oxlib/__init__.py diff --git a/oxutils/cache.py b/oxlib/cache.py similarity index 100% rename from oxutils/cache.py rename to oxlib/cache.py diff --git a/oxutils/format.py b/oxlib/format.py similarity index 100% rename from oxutils/format.py rename to oxlib/format.py diff --git a/oxutils/hashes.py b/oxlib/hashes.py similarity index 100% rename from oxutils/hashes.py rename to oxlib/hashes.py diff --git a/oxutils/html.py b/oxlib/html.py similarity index 100% rename from oxutils/html.py rename to oxlib/html.py diff --git a/oxutils/lang.py b/oxlib/lang.py similarity index 100% rename from oxutils/lang.py rename to oxlib/lang.py diff --git a/oxutils/net.py b/oxlib/net.py similarity index 100% rename from oxutils/net.py rename to oxlib/net.py diff --git a/oxutils/normalize.py b/oxlib/normalize.py similarity index 100% rename from oxutils/normalize.py rename to oxlib/normalize.py diff --git a/oxutils/text.py b/oxlib/text.py similarity index 100% rename from oxutils/text.py rename to oxlib/text.py diff --git a/oxutils/torrent.py b/oxlib/torrent.py similarity index 100% rename from oxutils/torrent.py rename to oxlib/torrent.py diff --git a/setup.py b/setup.py index f1728b2..45e1f79 100644 --- a/setup.py +++ b/setup.py @@ -4,14 +4,14 @@ from setuptools import setup, find_packages setup( - name="oxutils", + name="oxlib", version="0.1", description="collection of utils used to work with python", author="0x", author_email="code@0xdb.org", - url="http://code.0xdb.org/oxutils", - download_url="http://code.0xdb.org/oxutils/download", + url="http://code.0xdb.org/oxlib", + download_url="http://code.0xdb.org/oxlib/download", license="GPLv3", packages=find_packages(), zip_safe=False,