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
|
|
|
|
2019-08-26 19:26:02 +00:00
|
|
|
description = 'Python library to abstract social web federation protocols like ActivityPub and Diaspora.'
|
2016-10-04 18:31:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
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',
|
2018-08-11 19:32:44 +00:00
|
|
|
url='https://git.feneas.org/jaywink/federation',
|
|
|
|
download_url='https://pypi.org/project/federation/',
|
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=[
|
2018-08-19 19:02:09 +00:00
|
|
|
"attrs",
|
2020-01-25 23:08:54 +00:00
|
|
|
"bleach>3.0",
|
2019-08-18 01:25:13 +00:00
|
|
|
"commonmark",
|
2019-03-16 01:07:31 +00:00
|
|
|
"cryptography",
|
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",
|
2019-03-17 17:39:55 +00:00
|
|
|
"iteration_utilities",
|
2017-05-12 20:20:05 +00:00
|
|
|
"jsonschema>=2.0.0",
|
2018-08-11 18:47:16 +00:00
|
|
|
"pycryptodome>=3.4.10",
|
2017-05-12 20:20:05 +00:00
|
|
|
"python-dateutil>=2.4.0",
|
|
|
|
"python-xrd>=0.1",
|
2019-03-03 01:09:25 +00:00
|
|
|
"pytz",
|
2020-12-21 21:09:29 +00:00
|
|
|
"PyYAML",
|
2016-07-20 20:16:53 +00:00
|
|
|
"requests>=2.8.0",
|
2019-03-03 01:09:25 +00:00
|
|
|
"requests-http-signature-jaywink>=0.1.0.dev0",
|
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',
|
2017-01-12 20:05:19 +00:00
|
|
|
'Programming Language :: Python :: 3.6',
|
2019-08-26 19:26:02 +00:00
|
|
|
'Programming Language :: Python :: 3.7',
|
2020-12-20 00:51:00 +00:00
|
|
|
'Programming Language :: Python :: 3.8',
|
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
|
|
|
],
|
2020-12-21 21:09:29 +00:00
|
|
|
keywords='federation diaspora activitypub matrix protocols federate fediverse social',
|
2015-07-05 20:24:08 +00:00
|
|
|
)
|