Add setup.py based on pyproject.toml for travisci builds.
This commit is contained in:
parent
d20f2ca677
commit
401074d9a5
1 changed files with 43 additions and 0 deletions
43
setup.py
Normal file
43
setup.py
Normal file
|
@ -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"]},
|
||||||
|
)
|
Reference in a new issue