Skip to content

Commit 8ac7167

Browse files
author
Jussi Kukkonen
authored
Merge pull request #1900 from joshuagl/joshuagl/build-nits
Minor, mostly packaging, clean-ups
2 parents e7037cf + 150bfd0 commit 8ac7167

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

.gitignore

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# root level directories
2-
dist/*
3-
build/*
4-
env/*
2+
dist/
3+
build/
4+
env/
55

66
# docs build directory
7-
docs/build/*
7+
docs/build/
88

99
# global file patterns
1010
*.log
@@ -14,20 +14,20 @@ docs/build/*
1414
*.swp
1515
*.egg-info
1616
.coverage
17-
.tox/*
18-
tests/htmlcov/*
17+
.tox/
18+
tests/htmlcov/
1919
.DS_Store
20-
.pybuild/*
20+
.pybuild/
2121
.python-version
2222
*~
2323
*.tmp
2424
.pre-commit-config.yaml
2525
.vscode
2626

2727
# Debian generated files
28-
debian/.debhelper/*
28+
debian/.debhelper/
2929
debian/*-stamp
3030
debian/files
3131
debian/*.debhelper
3232
debian/*.substvars
33-
debian/python*-tuf/*
33+
debian/python*-tuf/

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ license_files = LICENSE LICENSE-MIT
3434

3535
[options]
3636
packages = find:
37-
python_requires = ~=3.7
37+
python_requires = >=3.7
3838
install_requires =
3939
requests>=2.19.1
4040
securesystemslib>=0.22.0

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7+
isolated_build=true
78
envlist = lint,docs,py
89
skipsdist = true
910

tuf/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,4 @@
55
"""
66

77
# This value is used in the requests user agent.
8-
# setup.cfg has it hard-coded separately.
9-
# Currently, when the version is changed, it must be set in both locations.
10-
# TODO: Single-source the version number.
118
__version__ = "1.0.0"

0 commit comments

Comments
 (0)