Skip to content

Apt doesn't work from site-packages (a.k.a. setup.py incomplete) #1

@maphew

Description

@maphew
D:\>pip install --editable b:\code\apt
Obtaining file:///b:/code/apt
  Running setup.py (path:b:/code/apt\setup.py) egg_info for package from file://
/b:/code/apt

Installing collected packages: apt
  Running setup.py develop for apt
    B:\o4w\apps\Python27\lib\site-packages\setuptools-1.3.2-py2.7.egg\setuptools
\command\easy_install.py:320: UserWarning: Unbuilt egg for apt-Osgeo4w-package-m
anager [unknown version] (b:\code\apt)

    Creating b:\o4w\apps\python27\lib\site-packages\apt.egg-link (link to .)
    Adding apt 0.3 to easy-install.pth file
    Installing apt-script.py script to B:\o4w\apps\Python27\Scripts
    Installing apt.exe script to B:\o4w\apps\Python27\Scripts
    Installing apt.exe.manifest script to B:\o4w\apps\Python27\Scripts

    Installed b:\code\apt
Successfully installed apt
Cleaning up...

D:\>apt
Traceback (most recent call last):
  File "B:\o4w\apps\Python27\Scripts\apt-script.py", line 9, in <module>
    load_entry_point('apt==0.3', 'console_scripts', 'apt')()
  File "b:\code\apt\apt.py", line 1271, in main
    last_mirror = get_config('last-mirror')
  File "b:\code\apt\apt.py", line 727, in get_config
    f = os.path.join(config, fname)
NameError: global name 'config' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions