Removed redundant specification of version number#2926
Conversation
|
I'm pretty sure this fails on I have used the pattern from https://github.com/pypa/pip/blob/master/setup.py to only define the version in 1 place before (essentially, read the |
|
I tested it locally with |
|
@fonnesbeck that's because you ran this from the pymc3 root dir which allows |
|
No, this installs fine when installed from elsewhere too. I'd prefer not to invoke a third-party package if possible. |
|
I think as long as the import does not try to access any compiled code, this works fine. |
|
That's super strange. Importing pymc3 should import numpy et al.
…On Wed, Apr 11, 2018, 9:58 AM Chris Fonnesbeck ***@***.***> wrote:
I think as long as the import does not try to access any compiled code,
this works fine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2926 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACMHEEwc97BFBgsqHm-UHoaDhNngLWDeks5tngvngaJpZM4TPNcc>
.
|
|
@ColCarroll actually, I'm sure you are right. My virualenv is probably falling back on a global site-packages. I will try your regex approach. |
setup.py
Outdated
| URL = "https://github.com/pymc-devs/pymc3" | ||
| LICENSE = "Apache License, Version 2.0" | ||
| VERSION = "3.4rc1" | ||
| LICENSE = "Apachimport numpye License, Version 2.0" |
There was a problem hiding this comment.
looks like stray characters here
|
Are we okay with this? |
|
Yep! |
The package version currently resides in 4 different places. This change eliminates all but one, making maintenance easier.