From 401074d9a5f45f154f1e0c5336452546dbfae8e7 Mon Sep 17 00:00:00 2001 From: Adam Hill Date: Tue, 14 Jan 2020 15:08:51 -0500 Subject: [PATCH] Add setup.py based on pyproject.toml for travisci builds. --- setup.py | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..031c12f --- /dev/null +++ b/setup.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- + +# DO NOT EDIT THIS FILE! +# This file has been autogenerated by dephell <3 +# https://github.com/dephell/dephell + +try: + from setuptools import setup +except ImportError: + from distutils.core import setup + +import os.path + +readme = '' +here = os.path.abspath(os.path.dirname(__file__)) +readme_path = os.path.join(here, 'README.rst') +if os.path.exists(readme_path): + with open(readme_path, 'rb') as stream: + readme = stream.read().decode('utf8') + +setup( + long_description=readme, + name='wagtail-draftail-snippet', + version='0.2.0', + description='Associate RichTextBlock text content to a snippet model.', + python_requires='==3.*,>=3.6.0', + project_urls={ + "repository": + "https://github.com/themotleyfool/wagtail-draftail-snippet" + }, + author='Adam Hill', + author_email='ahill@fool.com', + packages=['wagtail_draftail_snippet'], + package_dir={"": "."}, + package_data={ + "wagtail_draftail_snippet": [ + "static/wagtail_draftail_snippet/js/*.js", + "templates/wagtail_draftail_snippet/*.html" + ] + }, + install_requires=[], + extras_require={"dev": ["pytest==3.*,>=3.0.0"]}, +)