Re: [weewx-development] WeeWX 4b15 setup error

2020-03-15 Thread Vince Skahan
On Saturday, March 14, 2020 at 7:47:40 PM UTC-7, Xant wrote:
>
> I'm puzzled as though "/etc/weewx" and "/usr/share/weewx" to be the 
> 'original/formal' locations of WeeWX. If not, where is the "official" 
> location? 
>

http://www.weewx.com/docs/usersguide.htm#Where_to_find_things - use the 
setup.py tab 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/003c427d-10df-4dbd-a06c-a75357827d0f%40googlegroups.com.


Re: [weewx-development] WeeWX 4b15 setup error

2020-03-15 Thread Greg Troxel
Thomas Keffer  writes:

> But, you're right: generally Python's setup.py does install into
> /usr/share, /etc, and so on. However, our assumption, good or bad, was that
> users would use apt-get (or equivalent) if that's what they wanted.

Fair enough, but I would expect a packaging system to use setup.py to
install in that packaging system's preferred location, in a destdir, and
then tar up.   

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/rmi8sk1kbls.fsf%40s1.lexort.com.


Re: [weewx-development] WeeWX 4b15 setup error

2020-03-15 Thread Thomas Keffer
I didn't phrase that very well. Perhaps it would be better to say that the
weewx version of setup.py was intended for installation in /home/weewx.

But, you're right: generally Python's setup.py does install into
/usr/share, /etc, and so on. However, our assumption, good or bad, was that
users would use apt-get (or equivalent) if that's what they wanted.

-tk

On Sat, Mar 14, 2020 at 7:47 PM Xant  wrote:

>
> Good on b16! Acknowledge to be "a minor", but it was inserted in b15 (b14
> was ok).
>
> I'm puzzled as though "/etc/weewx" and "/usr/share/weewx" to be the
> 'original/formal' locations of WeeWX. If not, where is the "official"
> location? (apologies for this basic inquiry, but there are conflicting
> info).
>
> Xant
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-development+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/bf640db7-bf49-4954-b17b-6db5bfff8b6d%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEDrwbMr_Ryn6TY%2BsX4FSLaFRcR4HxQNiS4pM%2Bqi9vnyqw%40mail.gmail.com.


Re: [weewx-development] WeeWX 4b15 setup error

2020-03-14 Thread Xant

Good on b16! Acknowledge to be "a minor", but it was inserted in b15 (b14 
was ok).

I'm puzzled as though "/etc/weewx" and "/usr/share/weewx" to be the 
'original/formal' locations of WeeWX. If not, where is the "official" 
location? (apologies for this basic inquiry, but there are conflicting 
info).

Xant

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/bf640db7-bf49-4954-b17b-6db5bfff8b6d%40googlegroups.com.


Re: [weewx-development] WeeWX 4b15 setup error

2020-03-14 Thread Thomas Keffer
OK. Try 4.0.0b16

-tk

On Sat, Mar 14, 2020 at 6:36 PM Thomas Keffer  wrote:

> The setup.py method wasn't really intended to be used to install in the
> system locations.
>
> Still, if this is the only problem, it should be possible to get it to
> work. Let me fiddle with it a bit.
>
> -tk
>
> On Sat, Mar 14, 2020 at 6:23 PM Xant  wrote:
>
>>
>> 'setup.cfg' as the following:
>>
>> [install]
>> home = /etc/weewx
>> prefix =
>> exec-prefix =
>> install_lib = /usr/share/weewx
>> install_scripts = /usr/share/weewx
>>
>> [egg_info]
>> tag_build =
>> tag_date = 0
>>
>> All files were installed correctly at designated folders, but the
>> following:
>>
>> /usr/bin/python: can't open file '/etc/weewx/bin/wee_config': [Errno 2]
>> No such file or directory
>>
>> It seems that the correct path would be:
>>
>> /usr/share/weewx/wee_config
>>
>> Xant
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-development" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to weewx-development+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-development/84c1e996-aa8d-4b32-9a1b-602911097156%40googlegroups.com
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEBkON%3DQ0GQj0f7mXNQ9hdeT5bCWwpdO3Xs05TWuSzP%3D5g%40mail.gmail.com.


Re: [weewx-development] WeeWX 4b15 setup error

2020-03-14 Thread Thomas Keffer
The setup.py method wasn't really intended to be used to install in the
system locations.

Still, if this is the only problem, it should be possible to get it to
work. Let me fiddle with it a bit.

-tk

On Sat, Mar 14, 2020 at 6:23 PM Xant  wrote:

>
> 'setup.cfg' as the following:
>
> [install]
> home = /etc/weewx
> prefix =
> exec-prefix =
> install_lib = /usr/share/weewx
> install_scripts = /usr/share/weewx
>
> [egg_info]
> tag_build =
> tag_date = 0
>
> All files were installed correctly at designated folders, but the
> following:
>
> /usr/bin/python: can't open file '/etc/weewx/bin/wee_config': [Errno 2] No
> such file or directory
>
> It seems that the correct path would be:
>
> /usr/share/weewx/wee_config
>
> Xant
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-development+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-development/84c1e996-aa8d-4b32-9a1b-602911097156%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CAPq0zEDx77WBUXVQFwPznh5rCMzTmp5zLrDDY_05tGg%2B6rhqfA%40mail.gmail.com.


[weewx-development] WeeWX 4b15 setup error

2020-03-14 Thread Xant

'setup.cfg' as the following:

[install]
home = /etc/weewx
prefix =
exec-prefix =
install_lib = /usr/share/weewx
install_scripts = /usr/share/weewx

[egg_info]
tag_build =
tag_date = 0

All files were installed correctly at designated folders, but the following:

/usr/bin/python: can't open file '/etc/weewx/bin/wee_config': [Errno 2] No 
such file or directory

It seems that the correct path would be:

/usr/share/weewx/wee_config

Xant

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-development+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/84c1e996-aa8d-4b32-9a1b-602911097156%40googlegroups.com.