tim-donahue / bsdradius

Automatically exported from code.google.com/p/bsdradius
0 stars 1 forks source link

Setup fails using version 0.7.3 #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Install 0.7.3 via setup.py on Ubuntu 12.04 LTS (fully updated to 18 July 2013)

Issue 1: Prefix is incorrect leading to install error

prefix: /usr
Creating configuration files which don't exist yet
Traceback (most recent call last):
  File "setup.py", line 139, in <module>
    cfgFiles = listdir(os.path.join(prefix, "etc/bsdradius"))
  File "setup.py", line 40, in listdir
    for name in os.listdir(path):
OSError: [Errno 2] No such file or directory: '/usr/etc/bsdradius'

Workaround: python setup install --prefix /usr/local

Issue 2: Version is incorrect in setup.py when invoking setup(). It's set to 
0.7.0, leading pip freeze to report the incorrect version.

Original issue reported on code.google.com by abd...@gmail.com on 18 Jul 2013 at 8:06