Skip to content
Snippets Groups Projects
Commit e5e17f0b authored by Donald Stufft's avatar Donald Stufft
Browse files

Add packaging

parent 30c4ef18
No related branches found
No related tags found
No related merge requests found
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
__all__ = [
"__title__", "__summary__", "__uri__", "__version__", "__author__",
"__email__", "__license__", "__copyright__",
]
__title__ = "pynacl"
__summary__ = "Python binding to the Networking and Cryptography (NaCl) library" # nopep8
__uri__ = "https://github.com/dstufft/pynacl/"
__version__ = "0.1dev1"
__author__ = "Donald Stufft"
__email__ = "donald@stufft.io"
__license__ = "Simplified BSD"
__copyright__ = "Copyright 2012 Donald Stufft"
setup.py 0 → 100644
#!/usr/bin/env python
from setuptools import setup
__about__ = {}
with open("nacl/__about__.py") as fp:
exec(fp, None, __about__)
try:
import nacl.nacl
except ImportError:
# installing - there is no cffi yet
ext_modules = []
else:
# building bdist - cffi is here!
ext_modules = [nacl.nacl.ffi.verifier.get_extension()]
setup(
name=__about__["__title__"],
version=__about__["__version__"],
description=__about__["__summary__"],
long_description=open("README.rst").read(),
url=__about__["__uri__"],
license=__about__["__license__"],
author=__about__["__author__"],
author_email=__about__["__email__"],
install_requires=[
"cffi",
],
packages=[
"nacl",
],
ext_package="nacl",
ext_modules=ext_modules,
zip_safe=False,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment