mirror of
https://github.com/iluvcapra/pycmx.git
synced 2026-01-01 17:30:55 +00:00
Updated project to pyproject-style package
This commit is contained in:
@@ -3,13 +3,12 @@
|
|||||||
pycmx is a module for parsing CMX 3600-style EDLs. For more information and
|
pycmx is a module for parsing CMX 3600-style EDLs. For more information and
|
||||||
examples see README.md
|
examples see README.md
|
||||||
|
|
||||||
This module (c) 2018 Jamie Hardt. For more information on your rights to
|
This module (c) 2022 Jamie Hardt. For more information on your rights to
|
||||||
copy and reuse this software, refer to the LICENSE file included with the
|
copy and reuse this software, refer to the LICENSE file included with the
|
||||||
distribution.
|
distribution.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = '1.1.1'
|
__version__ = '1.2.0'
|
||||||
__author__ = 'Jamie Hardt'
|
|
||||||
|
|
||||||
from .parse_cmx_events import parse_cmx3600
|
from .parse_cmx_events import parse_cmx3600
|
||||||
from .transition import Transition
|
from .transition import Transition
|
||||||
|
|||||||
60
pyproject.toml
Normal file
60
pyproject.toml
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["flit_core >=3.2,<4"]
|
||||||
|
build-backend = "flit_core.buildapi"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "pycmx"
|
||||||
|
authors = [{name = "Jamie Hardt", email = "jamiehardt@me.com"}]
|
||||||
|
readme = "README.md"
|
||||||
|
dynamic = ["version", "description"]
|
||||||
|
requires-python = "~=3.8"
|
||||||
|
classifiers = [
|
||||||
|
'Development Status :: 5 - Production/Stable',
|
||||||
|
'License :: OSI Approved :: MIT License',
|
||||||
|
'Topic :: Multimedia',
|
||||||
|
'Topic :: Multimedia :: Video',
|
||||||
|
'Topic :: Text Processing',
|
||||||
|
'Programming Language :: Python :: 3.6',
|
||||||
|
'Programming Language :: Python :: 3.7',
|
||||||
|
'Programming Language :: Python :: 3.8',
|
||||||
|
'Programming Language :: Python :: 3.9',
|
||||||
|
'Programming Language :: Python :: 3.10'
|
||||||
|
]
|
||||||
|
dependencies = [
|
||||||
|
|
||||||
|
]
|
||||||
|
keywords = [
|
||||||
|
'parser',
|
||||||
|
'film',
|
||||||
|
'broadcast'
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.flit.module]
|
||||||
|
name = "pycmx"
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
doc = [
|
||||||
|
'sphinx >= 5.3.0',
|
||||||
|
'sphinx_rtd_theme >= 1.1.1',
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Home = "https://github.com/iluvcapra/pycmx"
|
||||||
|
Documentation = "https://pycmx.readthedocs.io/"
|
||||||
|
Source = "https://github.com/iluvcapra/pycmx.git"
|
||||||
|
Issues = "https://github.com/iluvcapra/pycmx/issues"
|
||||||
|
|
||||||
|
[tool.pyright]
|
||||||
|
typeCheckingMode = "basic"
|
||||||
|
|
||||||
|
[tool.pylint]
|
||||||
|
max-line-length = 88
|
||||||
|
disable = [
|
||||||
|
"C0103", # (invalid-name)
|
||||||
|
"C0114", # (missing-module-docstring)
|
||||||
|
"C0115", # (missing-class-docstring)
|
||||||
|
"C0116", # (missing-function-docstring)
|
||||||
|
"R0903", # (too-few-public-methods)
|
||||||
|
"R0913", # (too-many-arguments)
|
||||||
|
"W0105", # (pointless-string-statement)
|
||||||
|
]
|
||||||
33
setup.py
33
setup.py
@@ -1,33 +0,0 @@
|
|||||||
from setuptools import setup
|
|
||||||
|
|
||||||
with open("README.md", "r") as fh:
|
|
||||||
long_description = fh.read()
|
|
||||||
|
|
||||||
setup(name='pycmx',
|
|
||||||
version='1.1.5',
|
|
||||||
author='Jamie Hardt',
|
|
||||||
author_email='jamiehardt@me.com',
|
|
||||||
description='CMX 3600 Edit Decision List Parser',
|
|
||||||
long_description_content_type="text/markdown",
|
|
||||||
long_description=long_description,
|
|
||||||
project_urls={
|
|
||||||
'Source':
|
|
||||||
'https://github.com/iluvcapra/pycmx',
|
|
||||||
'Documentation':
|
|
||||||
'https://pycmx.readthedocs.io/',
|
|
||||||
'Issues':
|
|
||||||
'https://github.com/iluvcapra/pycmx/issues',
|
|
||||||
},
|
|
||||||
url='https://github.com/iluvcapra/pycmx',
|
|
||||||
classifiers=['Development Status :: 5 - Production/Stable',
|
|
||||||
'License :: OSI Approved :: MIT License',
|
|
||||||
'Topic :: Multimedia',
|
|
||||||
'Topic :: Multimedia :: Video',
|
|
||||||
'Topic :: Text Processing',
|
|
||||||
'Programming Language :: Python :: 3.6',
|
|
||||||
'Programming Language :: Python :: 3.7',
|
|
||||||
'Programming Language :: Python :: 3.8',
|
|
||||||
'Programming Language :: Python :: 3.9',
|
|
||||||
'Programming Language :: Python :: 3.10'
|
|
||||||
],
|
|
||||||
packages=['pycmx'])
|
|
||||||
Reference in New Issue
Block a user