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)