File: setup.py

package info (click to toggle)
python-hkdf 0.0.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 96 kB
  • sloc: python: 93; makefile: 3
file content (44 lines) | stat: -rw-r--r-- 1,093 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/env python

from __future__ import print_function

from setuptools import setup
import sys

import os
# Don't use hardlinks while testing from vagrant guest fs
# http://stackoverflow.com/questions/7719380/python-setup-py-sdist-error-operation-not-permitted
if os.environ.get('USER','') == 'vagrant':
    del os.link

try:
	with open("README.rst", "rb") as f:
		readme = f.read().decode("utf-8")
except:
	readme = ""
	print("Warning, unable to load README.rst into long_description.")

setup(
	name="hkdf",
	version="0.0.3",
	description="HMAC-based Extract-and-Expand Key Derivation Function (HKDF)",
	author="Christopher H. Casebeer",
	author_email="",
	url="https://github.com/casebeer/python-hkdf",

	py_modules=["hkdf"],

	tests_require=["nose"],
	test_suite="nose.collector",

	long_description=readme,
	classifiers=[
		"License :: OSI Approved :: BSD License",
		"Intended Audience :: Developers",
		"Programming Language :: Python :: 2.6",
		"Programming Language :: Python :: 2.7",
		"Programming Language :: Python :: 3.3",
		"Programming Language :: Python :: 3.4",
	]
)