Skip to content
Snippets Groups Projects
Unverified Commit 244470ca authored by Jean-Paul Calderone's avatar Jean-Paul Calderone Committed by GitHub
Browse files

Merge pull request #75 from PrivateStorageio/72.distutils-setup-requires

Add Python runtime requirements to setup.cfg
parents 092c4826 33a18ebf
No related branches found
No related tags found
No related merge requests found
{ fetchFromGitHub }: let
fetchFromGitHub { pkgs = import <nixpkgs> {};
owner = "LeastAuthority"; in
repo = "privacypass"; pkgs.fetchFromGitHub {
rev = "45855401e163f8e622bd93a5c5bce13de8c8510a"; owner = "LeastAuthority";
sha256 = "sha256:15wv8vas6x8cdicylp0m632c916p7qxq1k4lnchr8c92lldp0rv7"; repo = "privacypass";
} rev = "17ee180eda6dc9ff30d86b9666ee5c0d511434dc";
sha256 = "0yz2pdm3q8z7cs0cl8aw3k6x6rb9zq088bvis3f6vaaidzd061h6";
}
\ No newline at end of file
{ fetchFromGitHub, callPackage }: { callPackage }:
let let
src = import ./privacypass-repo.nix { inherit fetchFromGitHub; }; src = import ./privacypass-repo.nix;
privacypass = callPackage "${src}" { }; privacypass = callPackage "${src}" { };
in in
privacypass.overrideAttrs (old: { privacypass.overrideAttrs (old: {
......
diff --git a/setup.py b/setup.py diff --git a/setup.py b/setup.py
index 70927ff..9bf414d 100644 index 6da2d4d..32262dd 100644
--- a/setup.py --- a/setup.py
+++ b/setup.py +++ b/setup.py
@@ -21,7 +21,7 @@ setup( @@ -21,7 +21,7 @@ setup(
...@@ -8,7 +8,7 @@ index 70927ff..9bf414d 100644 ...@@ -8,7 +8,7 @@ index 70927ff..9bf414d 100644
platforms='any', platforms='any',
- setup_requires=['milksnake', 'setuptools_scm'], - setup_requires=['milksnake', 'setuptools_scm'],
+ setup_requires=['milksnake'], + setup_requires=['milksnake'],
install_requires=['milksnake', 'cffi', 'attrs'], install_requires=['cffi', 'attrs'],
extras_require={ extras_require={
"tests": [ "tests": [
@@ -29,7 +29,6 @@ setup( @@ -29,7 +29,6 @@ setup(
......
...@@ -29,3 +29,12 @@ packages = ...@@ -29,3 +29,12 @@ packages =
_zkapauthorizer _zkapauthorizer
_zkapauthorizer.tests _zkapauthorizer.tests
twisted.plugins twisted.plugins
install_requires =
attrs
zope.interface
aniso8601
privacypass
twisted
tahoe-lafs
treq
{ buildPythonPackage, sphinx { buildPythonPackage, sphinx
, attrs, zope_interface, aniso8601, twisted, tahoe-lafs, privacypass , attrs, zope_interface, aniso8601, twisted, tahoe-lafs, privacypass, treq
, fixtures, testtools, hypothesis, pyflakes, treq, coverage , fixtures, testtools, hypothesis, pyflakes, coverage
, hypothesisProfile ? null , hypothesisProfile ? null
, collectCoverage ? false , collectCoverage ? false
, testSuite ? null , testSuite ? null
...@@ -30,6 +30,7 @@ buildPythonPackage rec { ...@@ -30,6 +30,7 @@ buildPythonPackage rec {
twisted twisted
tahoe-lafs tahoe-lafs
privacypass privacypass
treq
]; ];
checkInputs = [ checkInputs = [
...@@ -37,8 +38,6 @@ buildPythonPackage rec { ...@@ -37,8 +38,6 @@ buildPythonPackage rec {
fixtures fixtures
testtools testtools
hypothesis hypothesis
twisted
treq
]; ];
checkPhase = '' checkPhase = ''
......
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