roam-qgis / Roam

Simple data collection built using QGIS.
http://roam-docs.readthedocs.org/en/latest/
GNU General Public License v2.0
171 stars 61 forks source link

Linux OS not detected #453

Open kikislater opened 4 years ago

kikislater commented 4 years ago

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 ?