Permalink
Browse files

PyPi updates (#239) (#241)

* Add PyCharm .idea/ folder to .gitignore
* Expand setup.py with additional metadata (#239)
* PyPi requires additional metadata such as classifiers.
* Configure setup.py to run the core tests with 'python setup.py test'
* Add setup.cfg for pointing pypi to the README
  • Loading branch information...
swallitsch authored and ssteinbach committed Apr 2, 2018
1 parent 417f205 commit d490ddb231d9f4112524f54ebbade9f20fc0eeca
Showing with 48 additions and 3 deletions.
  1. +3 −0 .gitignore
  2. +2 −0 setup.cfg
  3. +43 −3 setup.py
@@ -5,3 +5,6 @@ dist*
*.egg-info
.coverage
.DS_store
# Pycharm metadata
.idea/
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
@@ -25,9 +25,10 @@
""" Configuration file for the OpenTimelineIO Python Package. """
import sys
import os
from setuptools import setup
import sys
import unittest
# check the python version first
@@ -43,13 +44,45 @@
)
)
def test_otio():
"""Discovers and runs tests"""
try:
# Clear the environment of a preset media linker
del os.environ['OTIO_DEFAULT_MEDIA_LINKER']
except KeyError:
pass
return unittest.TestLoader().discover('tests')
setup(
name='OpenTimelineIO',
version='0.8.dev',
description='Editorial interchange format and API',
author='Pixar Animation Studios',
author_email='opentimelineio@pixar.com',
url='http://opentimeline.io',
license='Modified Apache 2.0 License',
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Multimedia :: Graphics',
'Topic :: Multimedia :: Video',
'Topic :: Multimedia :: Video :: Display',
'Topic :: Multimedia :: Video :: Non-Linear Editor',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: Other/Proprietary License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Operating System :: OS Independent',
'Natural Language :: English',
],
keywords='film tv editing editorial edit non-linear edl time',
platforms='any',
packages=[
'opentimelineio',
@@ -76,5 +109,12 @@
'bin/otiocat.py',
'bin/otioconvert.py',
'bin/otioview.py'
]
],
install_requires=[
# PyAAF2 to go here eventually
],
test_suite='setup.test_otio',
)

0 comments on commit d490ddb

Please sign in to comment.