TweetyPy

Check-in [7487060220]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Windows install simplification
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 748706022041d53d0a8a6063ca5bf2781b0c4348c57bdc40b49dac627f1cef9d
User & Date: jmcclure 2019-09-08 00:12:19
Context
2019-09-08
17:33
basic logging implemented ... need better file location check-in: ec4628377a user: jmcclure tags: trunk
00:12
Windows install simplification check-in: 7487060220 user: jmcclure tags: trunk
2019-09-07
19:19
replaced deprecated yaml.load() with yaml.safe_load() check-in: 63e03152ee user: jmcclure tags: trunk
Changes

Changes to info.html.

106
107
108
109
110
111
112
113
114
115
116
117


118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
...
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
-3 suffix for pip.  Once python 3.6 is installed, the following command in a
terminal should suffice to complete the installation of tweetypy:</p>
<pre><code>pip3 install tweetypy</code></pre>
<p>This should install all the dependencies followed by tweetypy itself.
Preliminary testing on a mac resulted in a successful installation and minimal
test of a working tweetypy install.</p>
<h3 id="install-win">Windows</h3>
<p>Installing the dependencies of NumPy and SciPy on Windows is a bit tricker.
As one of the NumPy team says &ldquo;If you're on Windows, and you try the same
thing with pip, all hell will break loose.&rdquo;<a class="note-link"
href="#install-note-8">8</a>.  This may be fixed in recent versions of NumPy,
but SciPy is still an issue<a class="note-link" href="#install-note-9">9</a>.


Precompiled "wheels" built against the Intel math kernel library are, however,
available.</p>
<ol>
<li>Install python 3.6 or newer from the python website.
<li>Download a suitable version of NumPy and SciPy from Christoph Gohlke's page
at the University of California<a class="note-link"
href="#install-note-10">10</a>.  I used the cp36-cp36m-win32 builds for my test
on Windows 10.</li>
<li>Install each of the wheels, NumPy first, then SciPy.  From a console / dos
prompt:
<pre><code>cd \path\to\Downloads
pip install numpy-1.13.1+mkl-cp36-cp36m-win32.whl
pip install scipy-0.19.1-cp36-cp36m-win32.whl</code></pre></li>
<li>If the above dependencies installed successfully you should now be able to
install tweetypy from PyPi:
<pre><code>pip install tweetypy</code></pre>
This should find the existing installation of NumPy and SciPy and only install
the remaining needed dependencies followed by tweetypy.</li>
</ol>
<p>Preliminary testing on Windows 10 resulted in a successful installation and
minimal test of a working tweetypy install.</p>
<h3 id="install-linux">Linux</h3>
<p>A <code>PKGBUILD</code> is provided in the source repository for ArchLinux.
Other distros may use <code>python setup.py install</code> from the root of
the source repository.  If you are able to help package TweetyPy for your
distro, please feel free to open a feature request on the ticket tracker.
Alternatively, tweetypy can be installed directly from PyPi via pip.</p>
<ol class="notes">
................................................................................
<li id="install-note-2">Install Qt5 via your package / software
manager or from the <a href="http://doc.qt.io/qt-5/supported-platforms.html">Qt5 Website</a>.</li>
<li id="install-note-3">TweetyPy on PyPi (<a href="https://pypi.python.org/pypi/tweetypy">link</a>)</li>
<li id="install-note-4">Fossil VCS repository (<a href="https://code.jessemcclure.org/tweetypy/timeline">link</a>)</li>
<li id="install-note-5"><a href="http://www.numpy.org/">Numpy</a></li>
<li id="install-note-6"><a href="https://www.scipy.org/">SciPy</a></li>
<li id="install-note-7"><a href="http://pyyaml.org/">PyYAML</a></li>
<li id="install-note-8"><a href="https://github.com/numpy/numpy/wiki/Whats-with-Windows-builds">What's With Window's Builds</a></li>
<li id="install-note-9"><a href="https://github.com/scipy/scipy/issues/5461">Issue 5461</a></li>
<li id="install-note-10"><a href="www.lfd.uci.edu/~gohlke/pythonlibs/#numpy">NumPy wheels</a>, <a href="www.lfd.uci.edu/~gohlke/pythonlibs/#scipy">SciPy wheels</a></li>
</ol>
</section>

<section id="config1">
<h2>Basic Configuration</h2>
<p>Configuration files are provided with reasonable defaults that should work
&lsquo;out-of-the-box&rsquo; for many analyses.  Configuration files are written







|
|
<
<
|
>
>
|
|
<
<
<
<
<
<
<
<
<
<
<
<
<
|
<
|
<
|
|







 







<
<
<







106
107
108
109
110
111
112
113
114


115
116
117
118
119













120

121

122
123
124
125
126
127
128
129
130
...
133
134
135
136
137
138
139



140
141
142
143
144
145
146
-3 suffix for pip.  Once python 3.6 is installed, the following command in a
terminal should suffice to complete the installation of tweetypy:</p>
<pre><code>pip3 install tweetypy</code></pre>
<p>This should install all the dependencies followed by tweetypy itself.
Preliminary testing on a mac resulted in a successful installation and minimal
test of a working tweetypy install.</p>
<h3 id="install-win">Windows</h3>
<p>Windows may come with python preinstalled, however it is likely an older
version of python.  You will need python 3.6 or later<a


class="note-link" href="#install-note-1">1</a>.  Python 3.6 will be installed
along-side any existing python2 installation, however the default python
and pip commands will still use the python2 versions so you will need to use the
-3 suffix for pip.  Once python 3.6 is installed, the following command in a
console / power-shell session should suffice to complete the installation of tweetypy:</p>













<pre><code>pip3 install tweetypy</code></pre>

<p>This should install all the dependencies followed by tweetypy itself.

Preliminary testing on windows 10 resulted in a successful installation and minimal
test of a working tweetypy install.</p>
<h3 id="install-linux">Linux</h3>
<p>A <code>PKGBUILD</code> is provided in the source repository for ArchLinux.
Other distros may use <code>python setup.py install</code> from the root of
the source repository.  If you are able to help package TweetyPy for your
distro, please feel free to open a feature request on the ticket tracker.
Alternatively, tweetypy can be installed directly from PyPi via pip.</p>
<ol class="notes">
................................................................................
<li id="install-note-2">Install Qt5 via your package / software
manager or from the <a href="http://doc.qt.io/qt-5/supported-platforms.html">Qt5 Website</a>.</li>
<li id="install-note-3">TweetyPy on PyPi (<a href="https://pypi.python.org/pypi/tweetypy">link</a>)</li>
<li id="install-note-4">Fossil VCS repository (<a href="https://code.jessemcclure.org/tweetypy/timeline">link</a>)</li>
<li id="install-note-5"><a href="http://www.numpy.org/">Numpy</a></li>
<li id="install-note-6"><a href="https://www.scipy.org/">SciPy</a></li>
<li id="install-note-7"><a href="http://pyyaml.org/">PyYAML</a></li>



</ol>
</section>

<section id="config1">
<h2>Basic Configuration</h2>
<p>Configuration files are provided with reasonable defaults that should work
&lsquo;out-of-the-box&rsquo; for many analyses.  Configuration files are written