from __future__ import print_function
from setuptools import setup, find_packages
+from io import open
import os
import re
# TERRIBLE AND IS THE END OF ALL THINGS
# I'd love to remove this restriction.
py2_only_install_requires.append('sqlalchemy-migrate<0.8')
+ # # Annoying. Please remove once we can! We only indirectly
+ # # use pbr, and currently it breaks things, presumably till
+ # # their next release.
+ # py2_only_install_requires.append('pbr==0.5.22')
py2_only_install_requires.append('mock') # mock is in the stdlib for 3.3+
install_requires = [
- 'setuptools', # TODO: is this necessary
+ 'gunicorn',
+ 'alembic==0.6.6',
'python-dateutil',
'wtforms',
'py-bcrypt',
'celery>=3.0',
'kombu',
'jinja2',
- 'sphinx', # TODO: is this a docs requirement?
- 'Babel<1.0', # TODO: why <1.0 or 0.9.6?
+ 'Babel>=1.3',
'webtest<2',
'ConfigObj',
'Markdown',
# PLEASE change this when we can; a dependency is forcing us to set this
# specific number and it is breaking setup.py develop
'six==1.5.2',
- 'oauthlib==0.5.0',
+ 'oauthlib',
'unidecode',
- 'ExifRead',
- # Annoying. Please remove once we can! We only indirectly
- # use pbr, and currently it breaks things, presumably till
- # their next release.
- 'pbr==0.5.22',
+ 'jsonschema',
+ 'ExifRead', # TODO(berker): Install develop branch for Python 3
'PasteDeploy',
+ 'requests',
+ 'pyld',
# This is optional:
# 'translitcodec',
# For now we're expecting that users will install this from
# their package managers.
# 'lxml',
- # 'PIL', # TODO: switch to Pillow?
+ # 'Pillow',
] + py2_only_install_requires
-with open(READMEFILE) as fobj:
+with open(READMEFILE, encoding="utf-8") as fobj:
long_description = fobj.read()
try:
include_package_data = True,
# scripts and dependencies
install_requires=install_requires,
- test_suite='nose.collector', # TODO: We are using py.test now?
+ test_suite='nose.collector',
entry_points="""\
[console_scripts]
gmg = mediagoblin.gmg_commands:main_cli
author='Free Software Foundation and contributors',
author_email='cwebber@gnu.org',
url="http://mediagoblin.org/",
- download_url="http://mediagoblin.org/download/",
long_description=long_description,
+ description='MediaGoblin is a web application for publishing all kinds of media',
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",