Skip to content

Commit

Permalink
Critical bug-fix for package identification needed for conda build pr…
Browse files Browse the repository at this point in the history
…ocesses. Erroneous escape sequence removed from setup.py (#23)

Co-authored-by: Michael Barnett <[email protected]>
  • Loading branch information
MichaelBarnett and Michael Barnett authored Nov 18, 2024
1 parent 9cb8247 commit 40cc6b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commec/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def check_directory_is_writable(self, input_directory: str) -> bool:
# Handily, all sorts of special characters are identified with a %XX, within posix, and are replaced
# by similar characters during mkdir, whilst technically legal, lets recommend against cursed dir names.
if '%' in path.as_posix():
print("Please avoid using special characters (\"|\}{\":?><*&\" etc) in filepath names.")
print("Please avoid using special characters (\"|}{\":?><*&\" etc) in filepath names.")
return False

# If the path doesn't exist, the best way to know if user input is valid, is to try make it.
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "commec"
version = '0.1.0'
version = '0.2.0'
# This is not a pure python project; dependencies are managed through environment.yml
authors = [
{ name = "Nicole Wheeler" },
Expand Down Expand Up @@ -35,4 +35,4 @@ Repository = "https://github.com/ibbis-screening/common-mechanism.git"
"commec" = "commec.cli:main"

[tool.setuptools]
packages = { find = { "include" = ["commec"] } }
packages = { find = { "include" = ["commec", "commec.*"] } }

0 comments on commit 40cc6b8

Please sign in to comment.