second commit
This commit is contained in:
parent
6bb79dbfba
commit
a0dff450b7
57
sopel-SpiceBotSERV/.gitignore
vendored
Normal file
57
sopel-SpiceBotSERV/.gitignore
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
env/
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*,cover
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
target/
|
||||
23
sopel-SpiceBotSERV/COPYING
Normal file
23
sopel-SpiceBotSERV/COPYING
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
Eiffel Forum License, version 2
|
||||
|
||||
1. Permission is hereby granted to use, copy, modify and/or
|
||||
distribute this package, provided that:
|
||||
* copyright notices are retained unchanged,
|
||||
* any distribution of this package, whether modified or not,
|
||||
includes this license text.
|
||||
2. Permission is hereby also granted to distribute binary programs
|
||||
which depend on this package. If the binary program depends on a
|
||||
modified version of this package, you are encouraged to publicly
|
||||
release the modified version of this package.
|
||||
|
||||
***********************
|
||||
|
||||
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT WARRANTY. ANY EXPRESS OR
|
||||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THIS PACKAGE.
|
||||
|
||||
***********************
|
||||
6
sopel-SpiceBotSERV/MANIFEST.in
Normal file
6
sopel-SpiceBotSERV/MANIFEST.in
Normal file
@ -0,0 +1,6 @@
|
||||
include NEWS
|
||||
include COPYING
|
||||
include README.md
|
||||
|
||||
recursive-exclude * __pycache__
|
||||
recursive-exclude * *.py[co]
|
||||
0
sopel-SpiceBotSERV/NEWS
Normal file
0
sopel-SpiceBotSERV/NEWS
Normal file
3
sopel-SpiceBotSERV/README.md
Normal file
3
sopel-SpiceBotSERV/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# sopel-SpiceBotSERV
|
||||
|
||||
A Wrapper around Sopel
|
||||
25
sopel-SpiceBotSERV/setup.cfg
Normal file
25
sopel-SpiceBotSERV/setup.cfg
Normal file
@ -0,0 +1,25 @@
|
||||
[metadata]
|
||||
name = sopel-SpiceBotSERV
|
||||
version = 0.1.0
|
||||
description = A Wrapper around Sopel
|
||||
author = deathbybandaid
|
||||
author_email = sam@deathbybandaid.net
|
||||
url = https://github.com/deathbybandaid/sopel-SpiceBotSERV
|
||||
license = Eiffel Forum License, version 2
|
||||
classifiers =
|
||||
Intended Audience :: Developers
|
||||
Intended Audience :: System Administrators
|
||||
License :: Eiffel Forum License (EFL)
|
||||
License :: OSI Approved :: Eiffel Forum License
|
||||
Topic :: Communications :: Chat :: Internet Relay Chat
|
||||
|
||||
[options]
|
||||
packages = find:
|
||||
zip_safe = false
|
||||
include_package_data = true
|
||||
install_requires =
|
||||
sopel>=7.0,<8
|
||||
|
||||
[options.entry_points]
|
||||
sopel.plugins =
|
||||
SpiceBotSERV = sopel_SpiceBotSERV
|
||||
24
sopel-SpiceBotSERV/setup.py
Normal file
24
sopel-SpiceBotSERV/setup.py
Normal file
@ -0,0 +1,24 @@
|
||||
# -*- 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_SpiceBotSERV 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,
|
||||
)
|
||||
21
sopel-SpiceBotSERV/sopel_SpiceBotSERV/__init__.py
Normal file
21
sopel-SpiceBotSERV/sopel_SpiceBotSERV/__init__.py
Normal file
@ -0,0 +1,21 @@
|
||||
# coding=utf8
|
||||
"""sopel-SpiceBotSERV
|
||||
|
||||
A Wrapper around Sopel
|
||||
"""
|
||||
from __future__ import unicode_literals, absolute_import, division, print_function
|
||||
|
||||
from sopel import module
|
||||
|
||||
|
||||
def configure(config):
|
||||
pass
|
||||
|
||||
|
||||
def setup(bot):
|
||||
pass
|
||||
|
||||
|
||||
@module.commands('helloworld')
|
||||
def hello_world(bot, trigger):
|
||||
bot.say('Hello, world!')
|
||||
Loading…
Reference in New Issue
Block a user