leveldir

Multi-level directory structure data stores in python3
git clone git://git.defalsify.org/python-leveldir.git
Log | Files | Refs | LICENSE

commit 8cafbf42ca20edf488d09c4c459bd3f27176d4d0
parent 5925974fa5b56b50234f7590f462ec227aa65ad5
Author: lash <dev@holbrook.no>
Date:   Tue,  8 Nov 2022 11:00:34 +0000

Include dependency in packaging

Diffstat:
MCHANGELOG | 2++
Arequirements.txt | 1+
Msetup.cfg | 2+-
Msetup.py | 17++++++++++++++++-
4 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,3 +1,5 @@ +- 0.3.1 + * Include dependency in packaging - 0.3.0 * Make master file a dotfile - 0.2.0 diff --git a/requirements.txt b/requirements.txt @@ -0,0 +1 @@ +hexathon~=0.1.7 diff --git a/setup.cfg b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = leveldir -version = 0.3.0 +version = 0.3.1 description = Create multi-level directory structures author = Louis Holbrook author_email = dev@holbrook.no diff --git a/setup.py b/setup.py @@ -1,3 +1,18 @@ from setuptools import setup +import os + + +requirements = [] +f = open('requirements.txt', 'r') +while True: + l = f.readline() + if l == '': + break + requirements.append(l.rstrip()) +f.close() + + +setup( + install_requires=requirements, + ) -setup()