From 2549ad7ed0ac3f000d26ae02c71ef34481279976 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 11 Jul 2023 23:46:28 -0700 Subject: [PATCH] modulize --- scrape.py => osrsscrape/scrape.py | 0 setup.py | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) rename scrape.py => osrsscrape/scrape.py (100%) create mode 100644 setup.py diff --git a/scrape.py b/osrsscrape/scrape.py similarity index 100% rename from scrape.py rename to osrsscrape/scrape.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..90304c2 --- /dev/null +++ b/setup.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python3 + + +from setuptools import setup + + +from osrsscrape import __version__ + + +with open("requirements.txt") as f: + deps = f.read().split() + + +setup(name='osrsscrape', + version=__version__, + description='tool to scrape osrs highscores and export to influxdb', + url='https://git.davepedu.com/dave/osrsscrape', + author='dpedu', + author_email='dave@davepedu.com', + packages=['osrsscrape'], + install_requires=deps, + entry_points={ + "console_scripts": [ + "osrsscrape = osrsscrape.cli:main", + ] + }, + zip_safe=False)