SpiceBot/setup.py
deathbybandaid 46f6966eda Core Bot
2022-02-24 10:58:48 -05:00

26 lines
691 B
Python

# -*- coding: utf-8 -*-
from __future__ import print_function
import os
import sys
from setuptools import setup, find_packages
if __name__ == '__main__':
print('Sopel does not correctly load plugins installed with setup.py '
'directly. Please use "pip install .", or add '
'{}/sopel_SpiceBot to core.extra in your config.'
.format(os.path.dirname(os.path.abspath(__file__))),
file=sys.stderr)
with open('README.md') as readme_file:
readme = readme_file.read()
with open('NEWS') as history_file:
history = history_file.read()
setup(
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
)