mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +00:00
Rename project from pydiscord to discord.py
This commit is contained in:
parent
b5a371812f
commit
44953e7a3f
21
LICENSE
21
LICENSE
@ -0,0 +1,21 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2015 Rapptz
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of this software and associated documentation files (the "Software"),
|
||||||
|
to deal in the Software without restriction, including without limitation
|
||||||
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
DEALINGS IN THE SOFTWARE.
|
@ -1,6 +1,6 @@
|
|||||||
# PyDiscord
|
# discord.py
|
||||||
|
|
||||||
PyDiscord is an API wrapper for Discord written in Python.
|
discord.py is an API wrapper for Discord written in Python.
|
||||||
|
|
||||||
This was written to allow easier writing of bots or chat logs.
|
This was written to allow easier writing of bots or chat logs.
|
||||||
|
|
||||||
|
@ -346,8 +346,8 @@ class Client(object):
|
|||||||
'token': self.token,
|
'token': self.token,
|
||||||
'properties': {
|
'properties': {
|
||||||
'$os': sys_platform,
|
'$os': sys_platform,
|
||||||
'$browser': 'pydiscord',
|
'$browser': 'discord.py',
|
||||||
'$device': 'pydiscord',
|
'$device': 'discord.py',
|
||||||
'$referrer': '',
|
'$referrer': '',
|
||||||
'$referring_domain': ''
|
'$referring_domain': ''
|
||||||
}
|
}
|
||||||
|
@ -86,17 +86,17 @@ qthelp:
|
|||||||
@echo
|
@echo
|
||||||
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
||||||
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
||||||
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/pydiscord.qhcp"
|
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/discord.py.qhcp"
|
||||||
@echo "To view the help file:"
|
@echo "To view the help file:"
|
||||||
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/pydiscord.qhc"
|
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/discord.py.qhc"
|
||||||
|
|
||||||
devhelp:
|
devhelp:
|
||||||
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
||||||
@echo
|
@echo
|
||||||
@echo "Build finished."
|
@echo "Build finished."
|
||||||
@echo "To view the help file:"
|
@echo "To view the help file:"
|
||||||
@echo "# mkdir -p $$HOME/.local/share/devhelp/pydiscord"
|
@echo "# mkdir -p $$HOME/.local/share/devhelp/discord.py"
|
||||||
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/pydiscord"
|
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/discord.py"
|
||||||
@echo "# devhelp"
|
@echo "# devhelp"
|
||||||
|
|
||||||
epub:
|
epub:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
API Reference
|
API Reference
|
||||||
===============
|
===============
|
||||||
|
|
||||||
The following section outlines the API of pydiscord.
|
The following section outlines the API of discord.py.
|
||||||
|
|
||||||
|
|
||||||
Client
|
Client
|
||||||
|
14
docs/conf.py
14
docs/conf.py
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# pydiscord documentation build configuration file, created by
|
# discord.py documentation build configuration file, created by
|
||||||
# sphinx-quickstart on Fri Aug 21 05:43:30 2015.
|
# sphinx-quickstart on Fri Aug 21 05:43:30 2015.
|
||||||
#
|
#
|
||||||
# This file is execfile()d with the current directory set to its
|
# This file is execfile()d with the current directory set to its
|
||||||
@ -45,7 +45,7 @@ source_suffix = '.rst'
|
|||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'pydiscord'
|
project = u'discord.py'
|
||||||
copyright = u'2015, Rapptz'
|
copyright = u'2015, Rapptz'
|
||||||
|
|
||||||
# The version info for the project you're documenting, acts as replacement for
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
@ -197,7 +197,7 @@ html_static_path = ['_static']
|
|||||||
#html_search_scorer = 'scorer.js'
|
#html_search_scorer = 'scorer.js'
|
||||||
|
|
||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
htmlhelp_basename = 'pydiscorddoc'
|
htmlhelp_basename = 'discord.pydoc'
|
||||||
|
|
||||||
# -- Options for LaTeX output ---------------------------------------------
|
# -- Options for LaTeX output ---------------------------------------------
|
||||||
|
|
||||||
@ -219,7 +219,7 @@ latex_elements = {
|
|||||||
# (source start file, target name, title,
|
# (source start file, target name, title,
|
||||||
# author, documentclass [howto, manual, or own class]).
|
# author, documentclass [howto, manual, or own class]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'pydiscord.tex', u'pydiscord Documentation',
|
('index', 'discord.py.tex', u'discord.py Documentation',
|
||||||
u'Rapptz', 'manual'),
|
u'Rapptz', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -249,7 +249,7 @@ latex_documents = [
|
|||||||
# One entry per manual page. List of tuples
|
# One entry per manual page. List of tuples
|
||||||
# (source start file, name, description, authors, manual section).
|
# (source start file, name, description, authors, manual section).
|
||||||
man_pages = [
|
man_pages = [
|
||||||
('index', 'pydiscord', u'pydiscord Documentation',
|
('index', 'discord.py', u'discord.py Documentation',
|
||||||
[u'Rapptz'], 1)
|
[u'Rapptz'], 1)
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -263,8 +263,8 @@ man_pages = [
|
|||||||
# (source start file, target name, title, author,
|
# (source start file, target name, title, author,
|
||||||
# dir menu entry, description, category)
|
# dir menu entry, description, category)
|
||||||
texinfo_documents = [
|
texinfo_documents = [
|
||||||
('index', 'pydiscord', u'pydiscord Documentation',
|
('index', 'discord.py', u'discord.py Documentation',
|
||||||
u'Rapptz', 'pydiscord', 'One line description of project.',
|
u'Rapptz', 'discord.py', 'One line description of project.',
|
||||||
'Miscellaneous'),
|
'Miscellaneous'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
.. pydiscord documentation master file, created by
|
.. discord.py documentation master file, created by
|
||||||
sphinx-quickstart on Fri Aug 21 05:43:30 2015.
|
sphinx-quickstart on Fri Aug 21 05:43:30 2015.
|
||||||
You can adapt this file completely to your liking, but it should at least
|
You can adapt this file completely to your liking, but it should at least
|
||||||
contain the root `toctree` directive.
|
contain the root `toctree` directive.
|
||||||
|
|
||||||
Welcome to pydiscord's documentation!
|
Welcome to discord.py's documentation!
|
||||||
=====================================
|
======================================
|
||||||
|
|
||||||
Contents:
|
Contents:
|
||||||
|
|
||||||
|
@ -127,9 +127,9 @@ if "%1" == "qthelp" (
|
|||||||
echo.
|
echo.
|
||||||
echo.Build finished; now you can run "qcollectiongenerator" with the ^
|
echo.Build finished; now you can run "qcollectiongenerator" with the ^
|
||||||
.qhcp project file in %BUILDDIR%/qthelp, like this:
|
.qhcp project file in %BUILDDIR%/qthelp, like this:
|
||||||
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\pydiscord.qhcp
|
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\discord.py.qhcp
|
||||||
echo.To view the help file:
|
echo.To view the help file:
|
||||||
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\pydiscord.ghc
|
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\discord.py.ghc
|
||||||
goto end
|
goto end
|
||||||
)
|
)
|
||||||
|
|
||||||
|
4
setup.py
4
setup.py
@ -16,9 +16,9 @@ readme = ''
|
|||||||
with open('README.md') as f:
|
with open('README.md') as f:
|
||||||
readme = f.read()
|
readme = f.read()
|
||||||
|
|
||||||
setup(name='pydiscord',
|
setup(name='discord.py',
|
||||||
author='Rapptz',
|
author='Rapptz',
|
||||||
url='https://github.com/Rapptz/pydiscord',
|
url='https://github.com/Rapptz/discord.py',
|
||||||
version=version,
|
version=version,
|
||||||
packages=['discord'],
|
packages=['discord'],
|
||||||
license='MIT',
|
license='MIT',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user