Commit Graph

208 Commits

Author SHA1 Message Date
Jason R. Coombs
3da8cf4a6f No longer rely on the package being installed to retrieve the version. Instead, load the project name and version by invoking the setup script. 2016-12-23 08:42:35 -05:00
Jason R. Coombs
6245d0966d Prefer get_distribution 2016-12-23 08:28:03 -05:00
Jason R. Coombs
99ffa27f0e Remove rant about docs. If there's no link to the docs, then this is the docs. 2016-12-23 08:25:01 -05:00
Jason R. Coombs
a50fb1c894 Skip upload docs as it's deprecated anyway 2016-12-15 14:40:27 -05:00
Jason R. Coombs
18cb65f8f1 Add note about the broken docs problem. 2016-11-04 10:16:12 -04:00
Jason R. Coombs
4ee40ca2d1 Update config to support building on ReadTheDocs 2016-11-04 09:49:30 -04:00
Jason R. Coombs
200e6a5251 Bump to setuptools_scm 1.15.0. 2016-10-24 10:07:33 -04:00
Jason R. Coombs
95fd34c61f Gotta get an sdist - so use one jaraco built 2016-10-20 17:13:15 -04:00
Jason R. Coombs
42ecbe7706 Update to setuptools_scm 1.15.0rc1 2016-10-20 15:38:47 -04:00
Jason R. Coombs
60c7c186c1 Need a later version of setuptools_scm until it's released. 2016-10-15 20:16:20 -04:00
Jason R. Coombs
aa1f8ebe0d Allow passing posargs 2016-10-14 23:03:42 -04:00
Jason R. Coombs
9be6e61593 Exclude versions of setuptools_scm due to pypa/setuptools_scm#109. 2016-10-14 21:40:51 -04:00
Jason R. Coombs
1d7afbebd6 Just upgrade to released setuptools now. 2016-10-07 12:16:38 -07:00
Jason R. Coombs
9698407222 Incorporate pre-release of setuptools to cause releases to include the PEP-420 deferral. 2016-10-02 09:28:19 -05:00
Jason R. Coombs
c4fd3f3cf4 Use usedevelop to workaround tox-dev/tox#373 2016-09-30 16:14:13 -04:00
Jason R. Coombs
12196ba3c3 Provide a reference to the license declaration in the readme. Fixes jaraco/skeleton#1. 2016-09-30 15:52:25 -04:00
Jason R. Coombs
4d382b3dee Python Packaging -- never do with one command what you can do with two. 2016-09-28 12:29:05 -04:00
Jason R. Coombs
8b4139a813 Each requirement line is passed as a single parameter to pip, so you can't have a space separating the option and its value. 2016-09-23 10:08:41 -05:00
Jason R. Coombs
cc80be915b Use pkg_resources to resolve the version. Requires that the necessary package metadata have been built before building docs. 2016-09-23 10:07:39 -05:00
Jason R. Coombs
750a2b3896 Use tox instead of pytest-runner 2016-09-22 10:50:07 -05:00
Jason R. Coombs
03c1cc8684 Remove support for building docs, now that docs support for pypi is deprecated. I hope at some point RTD comes up with an API that once again allows automatic building of docs. 2016-09-14 21:00:50 -04:00
Jason R. Coombs
629d80f45d No need for a .gitignore file; projects may want to add one, but I recommend not having one unless the project has project-specific files to ignore. 2016-09-04 13:06:52 -04:00
Jason R. Coombs
c66dc29876 Add tests for pmxbot command (and Result.results). 2016-09-04 11:41:18 -04:00
Jason R. Coombs
2c2ba47879 Add test for xml_bool and correct implementation, simplify by using json. 2016-09-04 11:23:22 -04:00
Jason R. Coombs
7d8cc32331 Merge with skeleton 2016-09-03 16:09:11 -04:00
Jason R. Coombs
0ca388e699 Allow pypy to fail. It's failing on Travis but not locally. 2016-09-03 15:38:21 -04:00
Jason R. Coombs
7bee559740 Rely on inheritance to handle errors in Result and Pod. 2016-09-03 15:36:52 -04:00
Jason R. Coombs
f0fc35c7c1 Simplify init in Result 2016-09-03 15:32:30 -04:00
Jason R. Coombs
5f86e5a1d6 Re-use always_iterable 2016-09-03 15:23:08 -04:00
Jason R. Coombs
c2ce282a51 Add notes in README about attributes exposed. 2016-09-03 15:03:02 -04:00
Jason R. Coombs
e1ae854faf Return iterables throughout for consistency. 2016-09-03 14:59:58 -04:00
Jason R. Coombs
1a4dc2fc62 Re-use more of the from_doc constructor and attribute type transformation in the Result object. Restore Pod.subpods through an alias property. 2016-09-03 14:56:06 -04:00
Jason R. Coombs
273cd73330 Move result after Pod 2016-09-03 14:40:07 -04:00
Jason R. Coombs
d4e3afe6b0 Use compose to generate the lists where expected 2016-09-03 14:38:10 -04:00
Jason R. Coombs
658183b56c Move from_doc to the Document class 2016-09-03 14:33:17 -04:00
Jason R. Coombs
5d697ade21 Fix test failure on Python 2 2016-09-03 14:31:29 -04:00
Jason R. Coombs
56d015694c Update docs and changelog to reflect the current state. 2016-09-03 14:30:36 -04:00
Jason R. Coombs
6112882d6b Remove installation instructions, as they're redundant for the guidance given by warehouse at https://pypi.org/project/wolframalpha. 2016-09-03 14:24:06 -04:00
Jason R. Coombs
8c05a4b376 Update changelog 2016-09-03 14:23:08 -04:00
Jason R. Coombs
9be618cd8c Now the various objects attributes are derived directly from the data with which they're initialized. 2016-09-03 14:21:06 -04:00
Jason R. Coombs
6abccdc728 Move Image (and Warning and Assumption) ahead of Subpod. 2016-09-03 14:13:10 -04:00
Jason R. Coombs
406967e8e1 Define subpod above pod 2016-09-03 13:54:36 -04:00
Jason R. Coombs
8ed3be43e1 models now derive from a dict (via Document), and store their content natively in self. 2016-09-03 13:43:13 -04:00
Jason R. Coombs
be0938dded Add test ensuring that the type of position is float 2016-09-03 13:32:16 -04:00
Jason R. Coombs
288b13db0f Rename node and tree to hidden _doc attributes 2016-09-03 12:57:40 -04:00
Jason R. Coombs
d4e09bb905 Convert on-object lists into properties. Add tests for these properties. 2016-09-03 12:49:33 -04:00
Jason R. Coombs
9115d23d83 Restore expectation that results can be an iterator. 2016-09-03 12:33:58 -04:00
Jason R. Coombs
7ab8e44695 Always use map from the future 2016-09-03 12:29:53 -04:00
Jason R. Coombs
946b5d1f4b Extend test to capture exactly one result with exactly one text. 2016-09-03 12:26:17 -04:00
Jason R. Coombs
14ba338b1e Restore prior expectation about Pod.text 2016-09-03 12:24:46 -04:00