From 443e829f377cc2a1b489eb1a3cf73d36e1aa3574 Mon Sep 17 00:00:00 2001 From: staticdev Date: Thu, 28 May 2020 11:58:36 -0300 Subject: [PATCH] Pyproject added, setup.py removed --- pyproject.toml | 31 +++++++++++++++++++++++++++++++ setup.py | 35 ----------------------------------- 2 files changed, 31 insertions(+), 35 deletions(-) create mode 100644 pyproject.toml delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..42fc336 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,31 @@ +[tool.poetry] +name = "tmdbsimple" +version = "2.2.7" +description = "A Python wrapper for The Movie Database API v3." +authors = ["Celia Oakley "] +license = "GPL-3.0-or-later" +readme = "README.rst" +homepage = "https://github.com/celiao/tmdbsimple" +repository = "https://github.com/celiao/tmdbsimple" +keywords = ["movie", "the movie database", "movie database", "tmdb", "wrapper"] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.3", + "Programming Language :: Python :: 3.4", + "Topic :: Utilities", +] + +[tool.poetry.dependencies] +python = "^2.7" +requests = "^2.23.0" + +[tool.poetry.dev-dependencies] + +[build-system] +requires = ["poetry>=0.12"] +build-backend = "poetry.masonry.api" + diff --git a/setup.py b/setup.py deleted file mode 100644 index 57fd749..0000000 --- a/setup.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- - -# See http://pythonhosted.org/an_example_pypi_project/setuptools.html - -import os -from setuptools import setup - -def read(fname): - return open(os.path.join(os.path.dirname(__file__), fname)).read() - -# requests[security]: http://stackoverflow.com/questions/29134512/insecureplatformwarning-a-true-sslcontext-object-is-not-available-this-prevent/29202163#29202163 -setup( - name = 'tmdbsimple', - version = '2.2.6', - author = 'Celia Oakley', - author_email = 'celia.oakley@alumni.stanford.edu', - description = 'A Python wrapper for The Movie Database API v3', - keywords = ['movie', 'the movie database', 'movie database', 'tmdb', - 'wrapper', 'database', 'themoviedb', 'moviedb', 'api'], - url = 'https://github.com/celiao/tmdbsimple', - download_url = 'https://github.com/celiao/tmdbsimple/tarball/2.2.6', - packages = ['tmdbsimple'], - long_description=read('README.rst'), - install_requires = ['requests'], - classifiers = [ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "Operating System :: OS Independent", - "Programming Language :: Python :: 2.7", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.3", - "Programming Language :: Python :: 3.4", - "Topic :: Utilities", - ], -)