25 lines
781 B
Python
25 lines
781 B
Python
# setup.py
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
with open('requirements.txt') as f:
|
|
requirements = f.read().splitlines()
|
|
|
|
setup(
|
|
name='reddit-stock-analyzer',
|
|
version='0.0.1',
|
|
author='Pål-Kristian Hamre',
|
|
author_email='its@pkhamre.com',
|
|
description='A command-line tool to analyze stock ticker mentions on Reddit.',
|
|
# This now correctly finds your 'rstat_tool' package
|
|
packages=find_packages(),
|
|
install_requires=requirements,
|
|
entry_points={
|
|
'console_scripts': [
|
|
# The path is now 'package_name.module_name:function_name'
|
|
'rstat=rstat_tool.main:main',
|
|
'rstat-dashboard=rstat_tool.dashboard:start_dashboard',
|
|
'rstat-cleanup=rstat_tool.cleanup:run_cleanup',
|
|
],
|
|
},
|
|
) |