-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
55 lines (49 loc) · 1.69 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
try:
from setuptools import setup, find_packages
except ImportError:
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
import os
execfile('./src/webid/__init__.py')
VERSION = __version__
setup_root = os.path.dirname(__file__)
sys.path.insert(0, os.path.join(setup_root, "src"))
long_description = """A python lib implementing server-side validation and client ssl authentication following the WebID spec"""
packages = find_packages('src')
setup(
name='python-webid',
package_dir={'': 'src'},
packages=packages,
include_package_data=True,
exclude_package_data={
'requirements': ['%s/*.tar.gz' % VERSION],
},
version=VERSION,
description='A python lib implementing server-side validation \
and client ssl authentication following the WebID spec',
long_description=long_description,
author='Ben Carrillo',
author_email='bennomadic at gmail dot com',
download_url='https://github.com/bennomadic/python-webid.git',
#url=...
install_requires=['M2Crypto>=0.20.2', 'rdflib>=3.2.0', 'rdfextras',
'requests', 'html5lib'],
#test_requires=[],
platforms=['any'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GPL License',
'Operating System :: OS Independent',
'Programming Language :: Python',
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='foaf, ssl, webid, x509, certificate, \
client certificate, authentication',
zip_safe=False,
)