UDST / synthpop

Synthetic populations from census data
BSD 3-Clause "New" or "Revised" License
99 stars 47 forks source link

conda build fails due to ez_setup #49

Open ngoldenberg opened 5 years ago

ngoldenberg commented 5 years ago

When trying to run conda build --python=36 meta.yaml (file here) it throws:

(...)
    raise ImportError
ImportError

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    use_setuptools()
(...)
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: SSL is required
(...)

I think it relates to this issue. While we wait for the fix, maybe we can do something like this (from UrbanAcces setup.py):

try:
    import setuptools
except ImportError:
    from ez_setup import use_setuptools

    use_setuptools()

from setuptools import setup, find_packages