-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
45 lines (39 loc) · 1.52 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
import os.path
from setuptools import setup, Extension
filename = os.path.join(os.path.dirname(__file__), 'description.rst')
with open(filename) as f:
long_description = f.read()
rsamodule = Extension('ucam_webauth.rsa',
sources=['ucam_webauth/rsa.c'],
libraries=["ssl", "crypto"])
setup(
name = "python-ucam-webauth",
version = "0.9.2",
packages = ["ucam_webauth", "ucam_webauth.raven"],
package_data = {"ucam_webauth": ["raven/keys/pubkey*"]},
ext_modules = [rsamodule],
install_requires = ["setuptools"],
extras_require = {"flask_glue": ["Flask"]},
tests_require = ["nose", "Flask"],
test_suite = 'nose.collector',
author = "Daniel Richman",
author_email = "main@danielrichman.co.uk",
description = "Ucam-webauth and Raven application agent in Python",
long_description = long_description,
license="BSD-2-Clause",
keywords = "Raven Cambridge ucam-webauth",
url = "http://github.com/danielrichman/python-ucam-webauth",
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Framework :: Flask",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: "
"CGI Tools/Libraries",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"
]
)
# python setup.py test
# python setup.py build_sphinx sdist upload upload_docs