{"comment":{"created_at":"2011-10-25T03:59:02Z","body":"+1 for the idea of a debug option.  Perhaps we should even call it ``--cdebug`` to make it clear that it's for debugging in a C/Cython context?  \r\n\r\nI'm also glad for getting rid of the distribution stuff in version.py - it was causing a variety of strange problems for me.","updated_at":"2011-10-25T03:59:02Z","url":"https://api.github.com/repos/astropy/astropy/issues/comments/2512705","id":2512705,"user":{"avatar_url":"https://secure.gravatar.com/avatar/b2a66b4a75397bcd42fdd7bb399ee553?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b2a66b4a75397bcd42fdd7bb399ee553","url":"https://api.github.com/users/eteq","id":346587,"login":"eteq"}},"action":"created","issue":{"number":32,"created_at":"2011-10-24T19:31:15Z","pull_request":{"diff_url":"https://github.com/astropy/astropy/pull/32.diff","patch_url":"https://github.com/astropy/astropy/pull/32.patch","html_url":"https://github.com/astropy/astropy/pull/32"},"body":"These are two fixes that resulted from an exchange I had with @eteq earlier.\r\n\r\nThe first is the get rid of a `BUILD` variable in setup.py that was an artifact of PyWCS's setup.py.  Instead it uses `astropy.version.release` which has in effect the same semantics (theoretically one might want to do a 'release' build while still under development, but in that remote case the developer may manually remove 'dev' from the version).\r\n\r\nThe second is another fix to the version.py template.  It's now much simpler than before and does not rely on any obscure (and unreliable) machinery in pkg_resources.  Instead it just checks if astropy is being imported from within a git working copy, and if so it updates the version string if necessary.  If astropy is not being imported from within a git working dir then the version is left \"frozen\".","comments":3,"title":"More setup.py/version fixes","updated_at":"2011-10-25T03:59:02Z","url":"https://api.github.com/repos/astropy/astropy/issues/32","id":2037509,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/c7d341e2b002754f2b21fbab3a3fd072?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c7d341e2b002754f2b21fbab3a3fd072","url":"https://api.github.com/users/iguananaut","id":676149,"login":"iguananaut"},"html_url":"https://github.com/astropy/astropy/issues/32","labels":[],"state":"open"},"legacy":{"issue_id":2037509,"comment_id":2512705}}