Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux OS not detected #453

Open
kikislater opened this issue Jan 3, 2020 · 0 comments
Open

Linux OS not detected #453

kikislater opened this issue Jan 3, 2020 · 0 comments

Comments

@kikislater
Copy link

kikislater commented Jan 3, 2020

Hi,

Trying to build Roam from master branch, I got this error :

$ make build
python setup.py clean
setup.py:209: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if os.name is 'nt':
Traceback (most recent call last):
  File "setup.py", line 286, in <module>
    include_files = get_data_files()
  File "setup.py", line 148, in get_data_files
    with open(versiontext, 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'src\\roam/version.txt'
make: *** [Makefile:10: clean] Error 1

Path is written in Windows format in setup.py line 148 :
versiontext = os.path.join(r"src\roam", "version.txt")
Antislash make related error. Changing from antislash to slash remove error but os is still detected as Windows and fail later in other error.

OS : Archlinux
$ pacman -Q python
python 3.8.1-1

Any hints on how to build ? Documentation outdated ?

@kikislater kikislater changed the title Build error under Linux (version.txt) Linux OS not detected Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant