Skip to content
Snippets Groups Projects
Commit 476aa3e4 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Set up minimal Python packaging

parent b32c7c01
No related branches found
No related tags found
No related merge requests found
{ pkgs ? import <nixpkgs> { } }: { pkgs ? import <nixpkgs> { } }:
pkgs.stdenv.mkDerivation rec { pkgs.python37Packages.callPackage ./secure-access-token-authorizer.nix { }
version = "0.0";
name = "secure-access-token-authorizer-${version}";
depsBuildBuild = [ pkgs.python37Packages.sphinx ];
}
{ buildPythonPackage, sphinx }:
buildPythonPackage rec {
version = "0.0";
name = "secure-access-token-authorizer-${version}";
src = ./.;
depsBuildBuild = [ sphinx ];
}
[metadata]
name = Secure Access Token Authorizer
version = attr: _secureaccesstokenauthorizer.__version__
description = A `Tahoe-LAFS`_ storage-system plugin which authorizes storage operations based on privacy-respecting tokens.
long_description = file: README.rst, CHANGELOG.rst, LICENSE-2.0.txt
keywords = tahoe-lafs, storage, privacy, cryptography
license = Apache 2.0
classifiers =
Framework :: Twisted
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
author = PrivateStorage.io, LLC
maintainer = PrivateStorage.io, LLC
home-page = https://privatestorage.io/
author-email = support@privatestorage.io
platform = POSIX
[options]
package_dir=
=src
packages=find:
[options.packages.find]
where=src
from setuptools import setup
setup()
# Copyright 2019 PrivateStorage.io, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
__version__ = "0.0"
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