-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try pyproject.toml, add oembed_info to video
- Loading branch information
Showing
4 changed files
with
85 additions
and
42 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
djangocms_baseplugins/video/migrations/0012_video_oembed_info.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 3.2.25 on 2024-11-03 09:44 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("video", "0011_auto_20230501_1509"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="video", | ||
name="oembed_info", | ||
field=models.JSONField(blank=True, default=dict), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,45 @@ | ||
# coding: utf-8 | ||
import os | ||
|
||
from setuptools import find_packages, setup | ||
|
||
# not so bad: http://joebergantine.com/blog/2015/jul/17/releasing-package-pypi/ | ||
version = __import__("djangocms_baseplugins").__version__ | ||
from setuptools import setup | ||
|
||
setup() | ||
|
||
def read(fname): | ||
# read the contents of a text file | ||
return open(os.path.join(os.path.dirname(__file__), fname)).read() | ||
|
||
|
||
setup( | ||
name="djangocms-baseplugins", | ||
version=version, | ||
url="https://github.com/bnzk/djangocms-baseplugins", | ||
license="BSD", | ||
platforms=["OS Independent"], | ||
description="djangocms_baseplugins", | ||
long_description=read("PYPI.rst"), | ||
author="Ben Stähli", | ||
author_email="[email protected]", | ||
packages=find_packages(), | ||
install_requires=( | ||
"django>=1.8", | ||
"django-cms>=3.3", | ||
), | ||
include_package_data=True, | ||
zip_safe=False, | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Framework :: Django", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Topic :: Internet :: WWW/HTTP", | ||
], | ||
) | ||
# coding: utf-8 | ||
# import os | ||
# | ||
# | ||
# # not so bad: http://joebergantine.com/blog/2015/jul/17/releasing-package-pypi/ | ||
# version = __import__("djangocms_baseplugins").__version__ | ||
# | ||
# | ||
# def read(fname): | ||
# # read the contents of a text file | ||
# return open(os.path.join(os.path.dirname(__file__), fname)).read() | ||
# | ||
# | ||
# setup( | ||
# name="djangocms-baseplugins", | ||
# version=version, | ||
# url="https://github.com/bnzk/djangocms-baseplugins", | ||
# license="BSD", | ||
# platforms=["OS Independent"], | ||
# description="djangocms_baseplugins", | ||
# long_description=read("PYPI.rst"), | ||
# author="Ben Stähli", | ||
# author_email="[email protected]", | ||
# packages=find_packages(), | ||
# install_requires=( | ||
# "django>=1.8", | ||
# "django-cms>=3.3", | ||
# ), | ||
# include_package_data=True, | ||
# zip_safe=False, | ||
# classifiers=[ | ||
# "Development Status :: 4 - Beta", | ||
# "Framework :: Django", | ||
# "Intended Audience :: Developers", | ||
# "License :: OSI Approved :: BSD License", | ||
# "Operating System :: OS Independent", | ||
# "Programming Language :: Python", | ||
# "Topic :: Internet :: WWW/HTTP", | ||
# ], | ||
# ) |