Skip to content

Commit

Permalink
pyproject details and python pinning in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
omesser committed Jul 13, 2024
1 parent 7d30d7a commit ebca8ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def main():
# (from a local dir if it exists)
# "python -m pip install" instead of "pip install" handles a pip
# issue where it fails in a long-named dir
run('virtualenv --python=python3 venv && '
run('virtualenv --python=python3.7 venv && '
'source venv/bin/activate && '
'python -m pip install {0} incremental && '.format(local_pip_packages) +
'python -m pip install {0} -r {1}'.format(local_pip_packages, requirements_file))
Expand Down
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
[project]
name = 'manof'
requires-python = ">=3.7,<3.8"
version = "0.1.2"
authors = [
{name = "Your Name", email = "[email protected]"},
]

[tool.setuptools]
py-modules = []

# please keep this to a minimum - defaults are good
[tool.black]
exclude = '''
Expand Down

0 comments on commit ebca8ed

Please sign in to comment.