python-tuf/setup.py
Vladimir Diaz 973d3a23a3 Address Issue #137 and update repository_tool.py.
Add the add_restricted_paths() method.
Rename libtuf.py
Update README.
Update delegate_hashed_bins() docstring.
More testing of hashed bins and consistent snapshots.
Remove old scripts from setup.py.
2014-01-23 12:03:31 -05:00

86 lines
1.9 KiB
Python
Executable file

#! /usr/bin/env python
"""
<Program Name>
setup.py
<Author>
Vladimir Diaz <vladimir.v.diaz@gmail.com>
<Started>
March 2013.
<Copyright>
See LICENSE for licensing information.
<Purpose>
BUILD SOURCE DISTRIBUTION
The following shell command generates a TUF source archive that can be
distributed to other users. The packaged source is saved to the 'dist'
folder in the current directory.
$ python setup.py sdist
INSTALLATION OPTIONS
Navigate to the root directory of the unpacked archive and
run one of the following shell commands:
Install to the global site-packages directory.
$ python setup.py install
Install to the user site-packages directory.
$ python setup.py install --user
Install to a chosen directory.
$ python setup.py install --home=<directory>
Note: The last two installation options may require modification of
Python's search path (i.e., 'sys.path') or updating an OS environment
variable.
E.g., Installing to the user site-packages directory might result in the
installation of TUF scripts to '~/.local/bin'. The user may then be
required to update his $PATH variable:
$ export PATH=$PATH:~/.local/bin
TUF scripts can then be run from any directory.
$ quickstart.py --project ./project-files
$ signercli.py --genrsakey ./keystore
"""
from setuptools import setup
setup(
name='tuf',
version='0.7.5',
description='A secure updater framework for Python',
author='https://www.updateframework.com',
author_email='info@updateframework.com',
url='https://www.updateframework.com',
install_requires=['pycrypto>=2.6'],
packages=[
'ed25519',
'tuf',
'tuf.client',
'tuf.compatibility',
'tuf.interposition',
'tuf.pushtools',
'tuf.pushtools.transfer',
'tuf.repo',
'tuf.tests'
],
scripts=[
'tuf/pushtools/push.py',
'tuf/pushtools/receivetools/receive.py',
'tuf/client/basic_client.py'
]
)