federation/setup.py

54 wiersze
1.6 KiB
Python
Czysty Zwykły widok Historia

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
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(
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',
url='https://github.com/jaywink/federation',
download_url='https://github.com/jaywink/federation/releases',
packages=find_packages(),
2015-07-05 20:24:08 +00:00
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",
2015-07-11 22:23:11 +00:00
"python-xrd==0.1",
"requests>=2.8.0",
],
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',
'Topic :: Communications',
'Topic :: Internet',
],
2016-09-04 20:15:39 +00:00
keywords='federation diaspora federate social',
2015-07-05 20:24:08 +00:00
)