Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
ego committed May 31, 2023
1 parent 8bcdcb3 commit d4d4f2b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
pip install tox==4.5.2
- name: Build and test docs
run: |
tox -e docs,doctests,linkcheck
tox -e docs,doctests
- id: deployment
uses: sphinx-notes/pages@v3

Expand Down
17 changes: 16 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,26 @@
PyScaffold helps you to put up the scaffold of your new Python project.
Learn more under: https://pyscaffold.org/
"""

from setuptools import setup


def parse_requirements(file_with_requires):
requirements = []
with open(file_with_requires) as fd:
for line in fd:
if line.startswith("-e ") or line.startswith("#"):
continue
requirements.append(line.strip())
return requirements


if __name__ == "__main__":
try:
setup(use_scm_version={"version_scheme": "no-guess-dev"})
setup(
use_scm_version={"version_scheme": "no-guess-dev"},
install_requires=parse_requirements("requirements.txt"),
)
except: # noqa
print(
"\n\nAn error occurred while building the project, "
Expand Down

0 comments on commit d4d4f2b

Please sign in to comment.