2015-07-05 20:24:08 +00:00
|
|
|
#!/usr/bin/env python
|
2016-10-04 18:31:51 +00:00
|
|
|
import os
|
|
|
|
|
2015-07-05 20:24:08 +00:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2016-07-20 20:16:53 +00:00
|
|
|
from federation import __version__
|
|
|
|
|
2015-07-05 20:47:25 +00:00
|
|
|
|
2016-10-04 18:31:51 +00:00
|
|
|
description = 'Python library to abstract social web federation protocols like Diaspora.'
|
|
|
|
|
|
|
|
|
|
|
|
def get_long_description():
|
|
|
|
return open(os.path.join(os.path.dirname(__file__), "docs", "introduction.rst")).read()
|
2016-04-03 11:57:46 +00:00
|
|
|
|
|
|
|
|
2015-07-05 20:24:08 +00:00
|
|
|
setup(
|
2016-10-04 19:07:24 +00:00
|
|
|
name='federation',
|
2016-07-20 20:16:53 +00:00
|
|
|
version=__version__,
|
2016-04-03 11:57:46 +00:00
|
|
|
description=description,
|
2016-10-04 18:31:51 +00:00
|
|
|
long_description=get_long_description(),
|
2015-07-05 20:24:08 +00:00
|
|
|
author='Jason Robinson',
|
|
|
|
author_email='mail@jasonrobinson.me',
|
2016-04-03 11:57:46 +00:00
|
|
|
maintainer='Jason Robinson',
|
|
|
|
maintainer_email='mail@jasonrobinson.me',
|
2016-10-04 19:07:24 +00:00
|
|
|
url='https://github.com/jaywink/federation',
|
|
|
|
download_url='https://github.com/jaywink/federation/releases',
|
2016-04-16 19:28:10 +00:00
|
|
|
packages=find_packages(),
|
2015-07-05 20:24:08 +00:00
|
|
|
license="BSD 3-clause",
|
|
|
|
install_requires=[
|
2016-07-24 11:44:32 +00:00
|
|
|
"cssselect>=0.9.2",
|
2017-05-12 20:20:05 +00:00
|
|
|
"dirty-validators>=0.3.0",
|
|
|
|
"lxml>=3.4.0",
|
|
|
|
"jsonschema>=2.0.0",
|
|
|
|
"pycrypto>=2.6.0",
|
|
|
|
"python-dateutil>=2.4.0",
|
|
|
|
"python-xrd>=0.1",
|
2016-07-20 20:16:53 +00:00
|
|
|
"requests>=2.8.0",
|
2015-07-08 08:57:33 +00:00
|
|
|
],
|
2015-07-12 19:19:40 +00:00
|
|
|
include_package_data=True,
|
2016-04-03 11:57:46 +00:00
|
|
|
classifiers=[
|
2016-10-04 19:45:52 +00:00
|
|
|
'Development Status :: 4 - Beta',
|
2016-04-03 11:57:46 +00:00
|
|
|
'Environment :: Web Environment',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: BSD License',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Programming Language :: Python :: 3 :: Only',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
|
|
|
'Programming Language :: Python :: 3.5',
|
2017-01-12 20:05:19 +00:00
|
|
|
'Programming Language :: Python :: 3.6',
|
2016-10-09 12:36:28 +00:00
|
|
|
'Programming Language :: Python :: Implementation :: CPython',
|
2016-04-03 11:57:46 +00:00
|
|
|
'Topic :: Communications',
|
|
|
|
'Topic :: Internet',
|
2016-10-04 19:48:52 +00:00
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
2016-04-03 11:57:46 +00:00
|
|
|
],
|
2016-09-04 20:15:39 +00:00
|
|
|
keywords='federation diaspora federate social',
|
2015-07-05 20:24:08 +00:00
|
|
|
)
|