kopia lustrzana https://gitlab.com/jaywink/federation
57 wiersze
1.8 KiB
Python
57 wiersze
1.8 KiB
Python
#!/usr/bin/env python
|
|
import os
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
from federation import __version__
|
|
|
|
|
|
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()
|
|
|
|
|
|
setup(
|
|
name='federation',
|
|
version=__version__,
|
|
description=description,
|
|
long_description=get_long_description(),
|
|
author='Jason Robinson',
|
|
author_email='mail@jasonrobinson.me',
|
|
maintainer='Jason Robinson',
|
|
maintainer_email='mail@jasonrobinson.me',
|
|
url='https://github.com/jaywink/federation',
|
|
download_url='https://github.com/jaywink/federation/releases',
|
|
packages=find_packages(),
|
|
license="BSD 3-clause",
|
|
install_requires=[
|
|
"cssselect>=0.9.2",
|
|
"dirty-validators>=0.3.0, <0.4.0",
|
|
"lxml>=3.4.0, <4.0.0",
|
|
"jsonschema>=2.0.0, <3.0.0",
|
|
"pycrypto>=2.6.0, <3.0.0",
|
|
"python-dateutil>=2.4.0, <3.0.0",
|
|
"python-xrd==0.1",
|
|
"requests>=2.8.0",
|
|
],
|
|
include_package_data=True,
|
|
classifiers=[
|
|
'Development Status :: 4 - Beta',
|
|
'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',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: Implementation :: CPython',
|
|
'Topic :: Communications',
|
|
'Topic :: Internet',
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
],
|
|
keywords='federation diaspora federate social',
|
|
)
|