1
0
forked from VimPlug/jedi
Commit Graph

96 Commits

Author SHA1 Message Date
Carl George ff4a77391a Parse correct AST attribute for version
Earlier development versions of Python 3.7 added the docstring field to
AST nodes.  This was later reverted in Python 3.7.0b5.

https://bugs.python.org/issue29463
https://github.com/python/cpython/pull/7121
2018-06-16 14:43:17 +02:00
Dave Halter cc460a7126 Merge branch 'master' into rm-2.6 2018-01-07 14:32:47 +01:00
Dave Halter 4e52acbf26 Using setup.py build should not include part of tests
It looks like that we have to not only exclude the test package but also 'test.*'. Thanks to @david-geiger for noticing this. Fixes #1024.
2018-01-07 14:13:40 +01:00
Hugo abe0f27e6a Add python_requires to help pip 2018-01-07 10:40:06 +02:00
Hugo 7c31ea9042 Drop support for EOL Python 2.6 2018-01-07 10:40:05 +02:00
Thomas A Caswell 22c97b0917 FIX: install on python 3.7 (#971)
* FIX: install on python 3.7

https://github.com/python/cpython/pull/46 /
https://bugs.python.org/issue29463 move the module comment into the
AST node and hence out of the tree which means the 2nd entry in the
tree is now the import rather than the `__version__` string.

Adds nightly on travis.

* BLD: update python tags in setup.py

* CI: switch to 3.7-dev

* CI: allow failure on 3.7 dev
2017-11-06 19:29:06 +01:00
Robin Roth f13b4e800a Install docopt for dev setup 2017-10-28 14:36:16 +02:00
Dave Halter b70cef735a Find packages differently in setup.py 2017-09-28 21:03:56 +02:00
Dave Halter d6f695b3bb Use the ast module instead of a jedi import to get the jedi version.
With dependencies it's not possible to do this with importing jedi anymore. It's now just a bit more complicated. Gosh I hate setup.py.
2017-05-20 17:53:11 -04:00
Dave Halter c7984c0710 Add a requirements.txt.
Also use it within setup.py. It doesn't seem possible to define dependencies for tox with install_requires.
2017-05-20 17:22:34 -04:00
Dave Halter fdff9396dd Move an import. 2017-05-20 16:08:43 -04:00
Dave Halter aec86c6c80 distutils doesn't support install_requires. 2017-05-20 16:07:38 -04:00
Dave Halter ccbaa12143 Add parso as a depencency in setup.py. 2017-05-19 10:29:32 -04:00
Dave Halter 32432b1cd1 Remove the parser packages from setup.py. 2017-05-19 10:27:26 -04:00
Felipe Lacerda aa2dfa9446 Fix path for grammar files in MANIFEST 2017-04-05 19:59:00 +02:00
Dave Halter 595ffc24d4 Move some more stuff to a python directory in the parser. 2017-03-13 00:54:39 +01:00
Dave Halter c4ec5caf40 3.2 is not supported anymore. Mention this in docs as well. 2016-07-03 11:38:38 +02:00
Mathias Fussenegger 09310dae7d add python 3.5 classifier to setup.py
Since 5a555076bb 3.5 is listed as
supported python version in the docs
2016-02-29 22:19:02 +01:00
Dave Halter 8775d90173 Merge the master branch into the dev branch. 2015-02-09 14:41:41 +01:00
Marc Abramowitz 672982a2f5 setup.py: Add python3.4 classifier 2015-01-02 11:07:01 -08:00
Dave Halter 6821ccba91 Add the pgen2 packages and grammar files to be able to deploy Jedi. 2014-12-16 15:23:49 +01:00
Syohei YOSHIDA 605ab9c6f5 Fix package_data '*.pym' paths 2014-06-19 19:10:58 +09:00
Dave Halter 269e84da85 changed version stuff in setup.py, fixes #369 2014-01-16 00:36:14 +01:00
Dave Halter 8854206f2a created a module for compiled 2014-01-10 16:37:28 +01:00
Dave Halter 6deac1dc41 api is now a separate package, to structure the whole thing better. 2014-01-07 15:33:24 +01:00
Dave Halter 4ec64a9763 move mixin to evaluate directory 2013-12-27 01:36:05 +01:00
Dave Halter 4aa8be7829 include jedi.evaluate as a package in setup.py 2013-12-25 19:08:28 +01:00
David Halter 3e217a8270 setup.py add new parser package 2013-09-06 01:21:18 +04:30
David Halter ea2f9ebd4c from LPGL to MIT license (got the permission from all contributors), fixes #5 2013-07-30 03:11:34 +02:00
Aaron Meurer 42e1737be3 Don't require distribute in setup.py
It isn't actually required to install (it's only needed if you want to
setup.py develop).

Fixes #269.
2013-07-25 21:58:54 -05:00
David Halter 977f4871d6 added changelog 2013-05-11 16:55:02 +04:30
David Halter f30b3416e8 remove VERSION file in favor of a jedi.__version__ 2013-05-11 11:10:01 +04:30
Danilo Bargen b3d9b6ce69 Removed py25 related code (fixes #206) 2013-04-27 16:47:40 +02:00
Danilo Bargen 492a6c5704 Added specific "Programming Language" trove classifiers (fixes #194) 2013-04-05 11:18:53 +02:00
Takafumi Arakaki d9ca833814 Make 2.5 test runnable with tox 2013-02-24 14:56:15 +01:00
David Halter 422eb6cbbf version can now be changed in one file (for sphinx and pypi) 2012-12-27 17:25:31 +01:00
David Halter 169b35b5a9 setup.py should be executable 2012-12-12 18:11:39 +01:00
David Halter 5a7a420026 merge and a few changes for the SyntaxError problem with mixin in (pip installation). -> fixes #79, also important for #82, #81, davidhalter/jedi-vim/issues/41, solution from #65 2012-12-12 18:10:42 +01:00
David Halter 181d700e50 change the way mixins are being added by setup.py, may fix #79 2012-12-12 11:32:53 +01:00
David Halter a3647a4c03 version update 2012-12-11 09:36:14 +01:00
David Halter bddd097b93 modified setup.py 2012-10-14 16:45:25 +02:00
David Halter e889edf244 version number increase 2012-09-18 14:56:22 +02:00
Danilo Bargen 15c2445448 Made version number PEP386 compatible (v0.5 beta 1) 2012-09-18 14:50:35 +02:00
David Halter e0126202b1 typos / now in beta testing, not alpha testing anymore 2012-09-18 14:12:36 +02:00
Danilo Bargen 95a059398e Fixed README path in MANIFEST.in, set README as long description in setup.py 2012-09-17 23:55:07 +02:00
Danilo Bargen 21a7346bac Added setup.py 2012-09-17 23:22:04 +02:00