Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
Signed-off-by: starry69 <[email protected]>
  • Loading branch information
starry-shivam committed Sep 6, 2020
1 parent 812c83d commit 5cf4c27
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ except ZeroResultsFound:
## See also
TMDB API docs: https://developers.themoviedb.org/3/

This library is being used by my telegram bot bot [αcutєвσt](https://t.me/acutebot),
This library is being used by my telegram bot [αcutєвσt](https://t.me/acutebot),
Check that out to see live working example!

Remember that this module not support all TMDB API methods yet.
Expand Down
11 changes: 7 additions & 4 deletions pymoviedb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@
# 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.


from .pytmdb import Movie, TvShows
from .excs import *

__author__ = ["Stɑrry Shivɑm"]
__version__ = 1.2
__version__ = 1.3

if __name__ == "__main__":
from pprint import pprint

if __name__ == '__main__':
from pprint import pprint
pprint(__author__, __version__, Movie, TvShows)
pprint(__author__, __version__, Movie, TvShows)
2 changes: 1 addition & 1 deletion pymoviedb/excs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ class ZeroResultsFound(Exception):
"""

def __init__(self, message):
super().__init__(message)
super().__init__(message)
2 changes: 1 addition & 1 deletion pymoviedb/pytmdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

from abc import ABC, abstractmethod
from requests import get
from excs import TmdbApiError, ZeroResultsFound
from .excs import TmdbApiError, ZeroResultsFound


class AbsMovieDB(ABC):
Expand Down
37 changes: 19 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,25 @@
long_description = f.read()

setup(
name='pymoviedb',
description='A simple wrapper over themoviedb.org API',
name="pymoviedb",
description="A simple wrapper over themoviedb.org API",
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/starry69/PyMovieDB',
author='Stɑrry Shivɑm',
author_email='[email protected]',
version='1.2',
license='MIT',
long_description_content_type="text/markdown",
url="https://github.com/starry69/PyMovieDB",
author="Stɑrry Shivɑm",
author_email="[email protected]",
version="1.3",
license="MIT",
packages=find_packages(),
install_requires=['requests'],
python_requires='>=3.6',
keywords='api development tmdb themoviedb wrapper library python3',
install_requires=["requests"],
python_requires=">=3.6",
keywords="api development tmdb themoviedb wrapper library python3",
classifiers=[
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Intended Audience :: Developers'
])
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
],
)

0 comments on commit 5cf4c27

Please sign in to comment.