Thomas Kluyver
53cbcfc3bb
Merge pull request #5047 from minrk/check-pkg-data
...
only validate package_data when it might be used
12 years ago
Jonathan Frederic
67a7cd1b33
Fixed setup base so it requires the correct files
12 years ago
MinRK
17d5c263a8
run check_package_data as part of build_py
...
rather than explicitly in setup.py
12 years ago
Jonathan Frederic
da7b329772
Glob fix so directories aren't accidently treated like files
12 years ago
MinRK
c79134f2d9
only validate package_data when it might be used
...
closes #5046
12 years ago
MinRK
a2511de20d
font-awesome moved
12 years ago
MinRK
07f757789f
validate package_data
...
and fix errors caught by the validation
12 years ago
MinRK
197dc25b97
fix missing-wheel command
...
because an empty distutils command must implement three no-op methods and one class attribute.
Which makes perfect sense.
12 years ago
MinRK
4c41c331d7
we only install man pages to usr/share
...
let the function reflect this, rather than having several entries with no files.
12 years ago
MinRK
143ab47bfa
whitelist installed components
...
we don't need most of what's in components to be installed.
Much of it is included just for sdists or development.
12 years ago
MinRK
d8ade7980d
platform-dependent requirements
...
in bdist_wheel
12 years ago
MinRK
29b1aa4c93
only put Python major version in wheel tags
...
results in 'py2-none-any' instead of 'py27-none-any'.
This is supported by pip and PEP 425, but not available from bdist_wheel by default.
12 years ago
MinRK
22c5e3ec2b
mention that pexpect ships in IPython.external
...
and only check for it on posix
12 years ago
MinRK
3050be2795
include marked.js in package_data
12 years ago
Thomas Kluyver
5a8d9182c4
Fix glob pattern for nbconvert template files
12 years ago
Thomas Kluyver
22f7bd4597
Walk nbconvert templates directory for package data files
12 years ago
Min RK
a80e387b0a
Merge pull request #4700 from minrk/ifmain
...
use if main block in entry points
13 years ago
Min RK
12acd244ca
Merge pull request #4692 from takluyver/setup-symlink-improvements
...
setup.py symlink improvements
13 years ago
Thomas Kluyver
74cb75e0c9
Add 'unsymlink command to remove the symlink
13 years ago
MinRK
efe3e67e39
move import into ifmain block
13 years ago
Thomas Kluyver
37edc78d76
If symlink already exists, clobber it with current one
13 years ago
Thomas Kluyver
24b7085554
Also check that existing symlink has desired target before allowing it.
13 years ago
MinRK
c491cfaab2
remove irunner and iplogger from installed scripts
13 years ago
MinRK
f42fc663d2
use if main block in entry points
...
closes #4698
13 years ago
Thomas Kluyver
c479ba9d18
Only ignore existing target for symlink if it is already a symlink
13 years ago
Thomas Kluyver
a391a1f755
Don't build Python modules unnecessarily before symlinking to site-packages
13 years ago
Thomas Kluyver
431e078992
Add sample wav file to package_data
13 years ago
MinRK
71d6a80629
add `setup.py jsversion`
...
for writing the IPython version to `IPython.version` in javascript.
supersedes #4357
13 years ago
Thomas Kluyver
655e870d02
Add comment to automatically generated scripts.
13 years ago
Thomas Kluyver
883c46b5b5
Rework setup to allow installing on Python 2 and 3.
...
Scripts named ipython and ipython[23], etc.
Neither distutils nor setuptools made this easy.
13 years ago
Thomas Kluyver
e8d357707a
Fix renaming scripts
13 years ago
Thomas Kluyver
432377439b
Fix renaming scripts with 3 suffix on Python 3
13 years ago
Min RK
d1de1d26f4
Merge pull request #4198 from jdfreder/versionconversion_nbconvert
...
add upgrade / downgrade to nbformat
13 years ago
Paul Ivanov
d46a7d6b75
include js tests in package_data
13 years ago
Thomas Kluyver
0cd7d8a5de
Remove pycolor script
13 years ago
Jonathan Frederic
171dd43def
Added test nbs to setup and removed todo
13 years ago
Brian E. Granger
c3510eb75f
Merge pull request #4207 from minrk/setup-css
...
add `setup.py css` command
13 years ago
Thomas Kluyver
04b5a4b0ac
Fix iptest setuptools entry point
13 years ago
MinRK
74795c2c56
add `setup.py css` command
...
It just does `cd IPython/html && fab css`, but I'm tired of doing it manually.
13 years ago
Paul Ivanov
b435738592
added check_for_tornado, closes #3916
...
This way, those relying on the output of `python setup.py install` get
clued in about the fact that it is required for the notebook
13 years ago
damianavila
309649e469
Fixed path in setupbase, again...
13 years ago
damianavila
839cd00e50
Fixed typo in reveal/*.tpl path in setupbase.
13 years ago
damianavila
61cc245423
Add reveal/*.tpl path to setupbase.
13 years ago
Jonathan Frederic
211eb6fb4e
Try including everything
...
(Trying to get config tests to pass)
13 years ago
Jonathan Frederic
2cf4fffb3b
Copy ipynb example files need for nbconvert tests
13 years ago
Paul Ivanov
1f997d3892
check for markdown no longer needed, closes #3610
...
After #3582 was merged, we no longer depend on a python version of
markdown
13 years ago
Matthias Bussonnier
9b08a557e5
Merge pull request #3538 from minrk/launch_ip
...
add IPython.start_ipython
A public API for starting a real (non-embedded) IPython instance.
should avoid API breakage in the future due to simple module renames, as has just happened with the removal of frontend.
For implementation purposes, I have added launch_new_instance as a classmethod on Application. I did this, because I wanted to add the ability to pass arguments to the instance, and didn't want to manually update every duplicate launch_new_instance.
closes #1537
13 years ago
MinRK
f4d4090fe3
use start_ipython in entry points
...
increases visibility of the public API to snoopers.
13 years ago
MinRK
00cf5001c5
fix tplx extension in nbconvert latex templates
13 years ago
MinRK
af65f1177d
include nbconvert templates in installation
...
fixes path spec in setupbase.py:find_package_data
13 years ago
Brian E. Granger
1c478745fa
Fixing imports in setupbase.py.
13 years ago
Brian E. Granger
072a94370d
Fixing install logic for nbconvert.
13 years ago
Paul Ivanov
0c11e07148
Merge pull request #3381 from minrk/retina
...
enable 2x (retina) display
13 years ago
MinRK
a3653e34b1
update references for IPython.html
13 years ago
MinRK
7f255c9d26
remove a few dangling frontends from setupbase
13 years ago
MinRK
38b58e784c
make sure test files are installed
13 years ago
Takafumi Arakaki
4aa2bca46c
Fix: "python ABS/PATH/TO/ipython.py" fails
...
The following line in setupbase.py was the problem. It assumes
that your CWD is always at the repository root. This patch removes
this assumption.
execfile(pjoin('IPython','core','release.py'), globals())
13 years ago
MinRK
cba52f17e5
use utils/submodule in setup.py
...
`setup.py anything` will halt with an informative error
if the submodules are unclean.
It will fetch the submodules if they are entirely absent.
Nothing will happen if it is not a git repo.
13 years ago
Thomas Kluyver
405e434d45
Fix for checking submodules location
...
Closes gh-3257
13 years ago
MinRK
6e32ee5546
ensure submodules exist prior to doing anything
...
git submodule update fires before distutils gets fired up
because distutils cannot be trusted.
13 years ago
Thomas Robitaille
a3500c3b15
Fix a bug that caused man pages to not be installed in Python 3 when running from the source tree.
14 years ago
MinRK
e972672ddd
remove spurious print statement from setupbase.py
14 years ago
MinRK
d2940640f5
record sysinfo in sdist
...
closes #2054
14 years ago
MinRK
abab58c0eb
add missing plugin .txt to package_data
14 years ago
MinRK
06188412b3
remove `ipython-qtconsole` gui-script
...
Always use `ipython qtconsole`
QtConsole entry in the Windows Start Menu is updated appropriately.
14 years ago
Thomas Kluyver
2c693fc89b
Exclude IPython.quarantine from installation.
14 years ago
Thomas Kluyver
2711bdf8dd
Fix writing git commit ID to a file on build with Python 3.
14 years ago
Fernando Perez
ffe488ee0b
Emergency fix for py3 breakage introduced in 576f6f (merge of #1538 )
...
Unicode literals (u'foo') aren't valid in Python 3.{1,2} (they will be
again in 3.3, and I failed to notice this. This is a quick fix, will
discuss further on-list. But I want master to remain working for py3
users.
14 years ago
Fernando Perez
4b73021647
Merge pull request #1445 from minrk/nosphinx
...
Don't build sphinx docs for sdists, it makes our source distributions unnecessarily large (and their generation much slower). Online access to docs is pervasive these days, and our docs are also much easier to build now, reducing the justification for keeping built docs in the source download.
14 years ago
MinRK
cc4f0f3619
use writelines when writing _sysinfo.py
14 years ago
MinRK
0495291a83
store git commit hash in utils._sysinfo instead of hidden git_commit_info.ini data file.
14 years ago
MinRK
212ec345e6
fix system->os.system typo
...
in setupbase.py
14 years ago
Thomas Kluyver
914d61f1bd
Make single setup script work on Python 2 and Python 3.
14 years ago
MinRK
5ffe131458
exclude mathjax from notebook package_data
...
closes #1018
15 years ago
MinRK
03cae6504e
add README to startup dir
15 years ago
MinRK
ba96d936ca
protect record_commit_info from configparser error
15 years ago
Fernando Perez
c27de98c35
Add SVG qt console icon to package data.
15 years ago
Thomas Kluyver
ce1973748f
Fix IPython.utils.sysinfo for Python 3.
15 years ago
Bernardo B. Marques
8e32204222
remove all trailling spaces
15 years ago
Thomas Kluyver
dba0917e83
Add Trove classifiers for PyPI.
15 years ago
Thomas Kluyver
4bf2e41967
Allow 'python setup.py install' to work correctly for either Python 2 or 3.
15 years ago
Thomas Kluyver
56a2b006e0
Make installation with Python 3 possible.
15 years ago
Brian E. Granger
ad791ad465
Finish removing ipython-notebook.
15 years ago
Brian E. Granger
c238febce1
Merge branch 'master' into htmlnotebook
...
Conflicts:
setupbase.py
15 years ago
MinRK
90b3e22759
Generate package list automatically in find_packages
...
Previously, the package list was manually specified, which meant that
it became out of date any time a package was added, and IPython would
become uninstallable. This would not be noticed for some time by
developers, who always use `setupegg.py --develop` or symlinks.
This update immediately revealed that IPython.zmq.tests and IPython.extensions.tests were never included in 0.11. Other than that, there is no difference in the package list.
15 years ago
Brian E. Granger
4973135bf1
Fixing setupbase.py for nbformat package.
15 years ago
Fernando Perez
d4123881c6
Disable PDF manual building for distribution and installation.
...
The PDF docs are huge, take forever to build and aren't particularly
useful in practice being so unwieldy. We can always build and
manually upload a static copy if there's demand, but they don't really
serve much useful purpose anymore and bloat our downloads.
15 years ago
Fernando Perez
7f4092a012
Fix installation of manpages.
15 years ago
Brian E. Granger
59a9cd1777
Updates to basic notebook format.
...
* The format now handles multiple output blocks.
* XML now as worksheets, cells and outputs tags.
15 years ago
Brian E. Granger
1140eeb679
Initial reorg of files complete.
...
I have moved things around to get ready for making the notebook
a full blown app, but have not actually made it an app. That is
next.
15 years ago
MinRK
f7a3abb023
include html frontend in packages/package_data
...
chmod +x ipython-notebook script
15 years ago
Brian Granger
6e36522cdf
Initial latex printing for sympy and fixes to autogrow.
15 years ago
MinRK
b26c59e66f
don't install deathrow
15 years ago
Thomas Kluyver
821c9609c0
Remove unused configobj and validate libraries from externals.
15 years ago
Thomas Kluyver
8a91843dd3
Don't try to install IPython.config.default (no longer there).
15 years ago
MinRK
713a71343e
rename ipythonqt to qtconsoleapp
...
the ipython-qtconsole script has been removed in favor of 'ipython qtconsole', but the ipython-qtconsole *GUI* script remains, when installed with setuptools.
15 years ago
MinRK
77cc373d3d
reorganize default config files to match profiles as directories
...
Old files are left in place, until applications make the transition to newapp.
15 years ago
epatters
8bd4f9272c
Clean up entry point definition is setup.py.
15 years ago
Evan Patterson
3ba4061e0e
Make ipython-qtconsole a GUI script in setuptools.
15 years ago
Jens Hedegaard Nielsen
c316414295
install zmq.qui fixes problems with using ipython --pylab gtk
15 years ago
MinRK
131086119a
make readline a dependency on OSX and pyreadline on Windows
...
closes gh-343
15 years ago
MinRK
e4a5c1815e
prevent duplicate script installs in setuptools
...
closes gh-335
15 years ago
MinRK
b84c3f0cd6
organize IPython.parallel into subpackages
15 years ago
MinRK
587b10631a
rebase IPython.parallel after removal of IPython.kernel
...
This commit removes all '*z' suffixes from scripts and docs,
as there is no longer conflict with IPython.kernel.
15 years ago
MinRK
8c38900f2b
add missing external.ssh to setupbase.py
15 years ago
MinRK
2b4ab756ab
move IPython.zmq.parallel to IPython.parallel
15 years ago
MinRK
6082ce8aaf
add scripts for non-setuptools install of zmq.parallel
15 years ago
MinRK
6331f97b9e
added zmq.parallel to setupbase
15 years ago
MinRK
6ea1a28d55
remove IPython.kernel scripts and put migration notice in docs.
...
closes gh-325
15 years ago
MinRK
1277658644
Merge branch 'removetwisted' of https://github.com/ellisonbg/ipython into remove_twisted
15 years ago
Brian Granger
527aa15f84
Removed Twisted related things from setup scripts and testing.
15 years ago
Nick Tarleton
097fddbadd
Add missing external.pexpect to packages
15 years ago
Thomas Spura
0cc0201b33
Move pretty into lib, because it's heavily changed now.
15 years ago
Thomas Spura
3ea19b0740
Unbundle of all external modules.
...
Move all libraries in external into subfolders and place a custom
__init__.py into each of them. This way the system installed ones are
tried first, before falling back to the bundled ones.
Now every distribution can properly depend on the upstream library.
(e.g. bundled libraries are not allowed in fedora)
Signed-off-by: Toshio Ernie Kuratomi <toshio@fedoraproject.org>
Signed-off-by: Thomas Spura <tomspur@fedoraproject.org>
15 years ago
Brian Granger
3ced248d86
Lots of work on the display system, focused on pylab stuff.
...
* Moved the pprint attribute to PlainTextFormatter.
* Added DisplayFormatter.plain_text_only for disabling all but the
plain text formatting. This is now used by doctest_mode.
* Remove result_display hook.
* Fixed doctest_mode magic.
* Refactored inline matplotlib backend to use new display system.
* Added display formatter for matplotlib.figure.Figure objects.
so the display system will show the svg for them.
* Added display and display_png to the user's namespace in pylab.
* Cleaned up pylabtools.py
15 years ago
Darren Dale
8e91a9d0d9
fix windows post-installation routines with setuptools installed
16 years ago
Fernando Perez
992e40df2e
Fix bug in our specification of data_files.
...
As best I can tell, we've been mis-specifying data_files for ages.
For some reason with a plain setup.py it worked fine, but using a
customized cmdclass for build_py, the error shows up.
The problem was that we were returning a list of triples for
data_files, and the spec clearly says they must be pairs:
http://docs.python.org/distutils/setupscript.html?highlight=data_files#installing-additional-files
16 years ago
Fernando Perez
89a6713551
Add utility to record commit information in archives/tarballs.
...
Thanks to Matthew Brett for the contribution (taken from nibabel).
Also, minor cleanups and updates for 2.6/3.x.
16 years ago
Fernando Perez
f609fd80a3
Rename entry point for Qt console to ipython-qtconsole.
...
This was the name we came up with on-list; also put all entry points
in IPython/scripts/ as discussed.
16 years ago
Fernando Perez
56ede30647
Add ipythonqt script to main list of user-installed scripts.
16 years ago
epatters
a631f0fc1e
Updated setupbase.py to include zmq.pylab package.
16 years ago
Brian Granger
30627d74a5
Moving and renaming in preparation of subclassing InteractiveShell.
...
* IPython/scripts/ipython -> IPython/frontend/terminal/scripts
* IPython.core.ipapp -> IPython.frontend.terminal.ipapp
* IPython.core.embed -> IPython.frontend.terminal.embed
* IPython.core.iplib -> IPython.core.interactiveshell
16 years ago
epatters
567d5b5952
Merge branch 'master' of git://github.com/ipython/ipython into qtfrontend and fix conflicts in setupbase.py.
...
Conflicts:
setupbase.py
16 years ago
Fernando Perez
2e8acf77e2
Finish cleanup of setup.py and tests after dead code removal.
...
This completes the cleanup from Brian's previous commits, so that
trunk again installs/tests correctly.
16 years ago
epatters
557abf30aa
Updated setupbase.py to reflect new 'frontend.qt' and 'zmq' packages.
16 years ago
bgranger
18fab0d4a1
Fixing a few small things on Windows.
...
* No os.environ['USER'].
* get_home_dir() now first looks at %HOMESHARE% to get a UNC shared
path if it exists.
* Minor fixes for setupbase.py.
17 years ago
Brian Granger
81e0e8805d
Removed ipapi compatability layer and updated top-level functions.
...
The ipapi.py module has been completely deprecated as of this point.
No new code should use it and all existing code that uses it will
migrate away from it. The launch_new_instance function has
been moved to ipapp and the setup.py scripts have been updated.
17 years ago
Brian Granger
cf5972e4aa
Fixed small bug in setup.py.
...
We have removed the config.userconfig directory.
17 years ago
Brian Granger
61cc720e11
Merging -r 1192 from lp:ipython.
17 years ago
Brian Granger
6b0c7134ef
Merging -r 1180 from lp:ipthon
...
No conflicts!
17 years ago
Fernando Perez
b7d773553d
Update setup and support tools to include new man pages.
17 years ago
Brian Granger
6221939722
Renaming Extensions=>extensions in code and imports.
17 years ago
Brian Granger
f50040feec
Fixing a few bugs to get the win32 installer working again.
17 years ago
Brian Granger
7b495ced75
Fixing installation related issues.
17 years ago
Gael Varoquaux
97d2d0f72e
Take in account remarks by Fernando on code review
17 years ago
Brian Granger
93179e9fbe
Added tests for the new get_ipython_dir and get_security_dir
...
functions in genutils.py. Also added one for get_home_dir.
18 years ago
Fernando Perez
055209bad7
More updates for release of 0.9.rc1.
...
- Fix links for pyreadline.
- Fix setup.py to include new -wx script.
- Add pylab profile to win32 native installer.
- Fix manual win32 post install script (though this script may not work, and
I'm considering removing it...)
18 years ago
Fernando Perez
0567523270
Include testing plugin for installation.
18 years ago
Fernando Perez
044c2de074
Checkpoint before merging with upstream
18 years ago
Fernando Perez
162df0fc47
Fixes to build/setup machinery.
...
Lots of changes to setup.py and doc building machinery to ensure we
get all the docs correctly built and installed at the end.
18 years ago
Fernando Perez
5020bb4d11
Fixes to build system.
18 years ago
gvaroquaux
b327410785
Add ipythonx to scripts.
18 years ago
gvaroquaux
89b977c2f7
Add the subpackage to the setupbase.py
18 years ago
Brian E Granger
0e08b770a0
package_data was missing the .txt files in the testing directories. This was causing
...
the test suite to fail when IPtyhon was installed. I have modified find_package_data
in setupbase.py to include these files. Anyone who writes tests that rely on .txt
files needs to add them to the package_data.
18 years ago
Brian E Granger
b31c7b2ebf
Temporary fix to get setup.py to not crash. Full fix on the way.
18 years ago
Brian E Granger
196e82d78d
Fixed setupbase.py and MANIFEST.in to reflect all the changes to docs. Currently,
...
the full tree of our rst docs are not included in the data_files. Not sure if/how
we want to handle that. It was easy when we had a single file documentation, but
not we have a full directory hierarchy full of rst files.
18 years ago
Brian E Granger
cc85cf9653
Fixing a few small bugs in the setup.py scripts. In setupbase.py, in find_scripts, ipython
...
was spelled as lowercase. This didn't cause a problem on OS X as it is case insensitive. But
on Linux, it crashed. Now ipython is spelled properly as "IPython". Also, kernel/config/tests
and UserConfig were missing their __init__.py files. These have been added.
18 years ago
Brian E Granger
d816e04b5f
More work fixing some small bugs in the setup.py infrastructure. It is almost working!
18 years ago
Brian E Granger
2593302b59
Adding documentation to setup* files.
18 years ago
Brian E Granger
f27ad5248e
Initial work towards refactoring the setup.py scripts to accept the new ipython1 packages
...
that have been merged. I am also bringing in a new way for checking dependencies at
build time that is simple, but really helpful now that we have lots of optional
dependencies.
18 years ago