federation/setup.py

71 wiersze
2.2 KiB
Python

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
from federation import __version__
2015-07-05 20:47:25 +00:00
2021-08-15 18:26:59 +00:00
description = 'Python library to abstract social web federation protocols like ActivityPub, Matrix 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()
2015-07-05 20:24:08 +00:00
setup(
name='federation',
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',
2022-06-04 23:50:09 +00:00
url='https://gitlab.com/jaywink/federation',
download_url='https://pypi.org/project/federation/',
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",
2024-01-05 22:30:37 +00:00
"beautifulsoup4>=4.11.2",
"bleach>3.0",
"calamus",
"commonmark_socialhome>=0.9.1.post2",
2023-01-21 15:35:48 +00:00
"cryptography",
"cssselect>=0.9.2",
"dirty-validators>=0.3.0",
2023-03-12 21:20:16 +00:00
"funcy",
"lxml>=3.4.0",
"iteration_utilities",
"jsonschema>=2.0.0",
"markdownify",
"pycryptodome>=3.4.10",
"python-dateutil>=2.4.0",
"python-httpsig-socialhome",
"python-magic",
"python-slugify>=5.0.0",
"python-xrd>=0.1",
"pytz",
"PyYAML",
"redis",
"requests>=2.8.0",
"requests-cache",
],
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',
2020-12-20 00:51:00 +00:00
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'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
],
keywords='federation diaspora activitypub matrix protocols federate fediverse social',
2015-07-05 20:24:08 +00:00
)