100 Commits
Author SHA1 Message Date
Jason R. Coombs 50bf2e047b Backfill changelog 2018-03-04 22:42:02 -05:00
Jason R. Coombs 320cd67403 Update changelog 2018-03-04 22:09:19 -05:00
Jason R. Coombs 923b505128 Feed the hobgoblins (delint). 2018-03-04 22:05:10 -05:00
Jason R. Coombs 9e0a04079f Merge https://github.com/jaraco/skeleton 2018-03-04 22:03:09 -05:00
Jason R. Coombs 40da2c6500 Run flake8 with tests. Add flake8 config to ignore common exclusions. Add comments to testing and docs extras to aid with merges. 2018-03-03 13:36:28 -05:00
Jason R. Coombs 41b814aa6c Add workaround for build failures on Python 3.7 (yaml/pyyaml#126). 2018-02-28 09:43:16 -05:00
Jason R. Coombs a8f66602f2 Save the pip cache across builds. Ref pypa/setuptools#1279. 2018-02-20 08:45:54 -05:00
Jason R. Coombs 3902aabd7f Bring back pytest-sugar with a minimum version to support Pytest 3.4. 2018-02-10 13:24:23 -05:00
Jason R. Coombs 34ab781f87 Disable pytest-sugar until Frozenball/pytest-sugar#133 is addressed. 2018-02-01 09:28:53 -05:00
Jason R. Coombs b9aba822c7 Use tox-venv for future compatibility. 2018-01-29 09:06:00 -05:00
Jason R. Coombs bbc018de3c Need to avoid .eggs in recursing dirs. Ref pypa/setuptools_scm#212. 2018-01-26 11:59:01 -05:00
Jason R. Coombs 99d850f0ed To support namespace packages, Setuptools must be 31.0.1. This change is necessary with the adoption of tox-venv, which uses Python's venv, which does not install the latest setuptools by default. 2018-01-17 09:55:12 -05:00
Jason R. Coombs 6365965369 Run only default environment by default. 2018-01-03 15:34:05 -05:00
Jason R. Coombs 97c492d425 Add build-docs env in tox. 2018-01-02 19:32:38 -05:00
Jason R. Coombs dd475b7ad1 Use https 2018-01-02 19:32:19 -05:00
Jason R. Coombs b4b4c11168 reference the license file in metadata 2017-11-16 15:45:57 -05:00
Jason R. Coombs ce5e0eb6ef Correct travis syntax 2017-11-16 13:17:16 -05:00
Jason R. Coombs 99622ab0e3 Declare 'python' factor at top level 2017-11-15 10:26:38 -05:00
Jason R. Coombs 6c36336e9f Normalize indentation in docs/conf.py 2017-11-13 09:14:44 -05:00
Jason R. Coombs 34958ccc94 Add documentation badge. 2017-10-17 19:47:02 -04:00
Jason R. Coombs d149ed4d5d Remove downloads shield, no longer available. 2017-10-16 12:13:14 -04:00
Jason R. Coombs 5dc924c102 Add a license file. Fixes jaraco/skeleton#1. 2017-09-26 12:02:52 +01:00
Jason R. Coombs a953d1baa6 --add doesn't work in a list 2017-09-21 16:36:17 -04:00
Jason R. Coombs a419524c69 Remove 'bootstrap', artifact from setuptools 2017-09-19 19:46:21 -04:00
Jason R. Coombs 835393c93e Use stages in travis to have deployment depend on success in all Python versions. 2017-09-18 18:05:16 -04:00
Jason R. Coombs 88d315ae9a Check the docs during tests 2017-09-13 04:24:11 -04:00
Jason R. Coombs 250cb96002 Inspired by pypa/setuptools#1059, use the preferred bdist_wheel heading. 2017-08-26 15:35:09 -04:00
Jason R. Coombs 16d68a9fd1 Restore support for namespace package declaration, selected on a 'nspkg_technique' setting 2017-08-14 08:14:57 -04:00
Jason R. Coombs 31fb9d19ee Use a simple build number rather than prefixing with '1.0.' 2017-06-04 14:02:51 -04:00
Jason R. Coombs c84284022a Remove namespace_packages declaration, no longer needed. 2017-05-12 21:42:53 -04:00
Jason R. Coombs 110cb56c59 Require tox 2.4 or later; fixes #2. 2017-04-28 19:21:53 -04:00
Jason R. Coombs 3383a3aceb Add appveyor script for CI testing on Windows. 2017-04-26 10:29:35 -04:00
Jason R. Coombs 243e44fdb7 Move requirements for docs and testing into extras 2017-04-21 12:40:43 -04:00
Jason R. Coombs fbe7cb7fa1 Add readthedocs yml file 2017-04-21 12:21:45 -04:00
Jason R. Coombs 23dae906a2 The requirement is no longer needed for tests. 2017-03-30 20:41:18 -04:00
Jason R. Coombs 689f700fcf Use single-quotes to satisfy the style nazis. 2017-03-30 04:43:46 -04:00
Jason R. Coombs 908cf4ad0e Rely on jaraco.packaging for loading the package metadata from the package for Sphinx. 2017-03-30 04:42:12 -04:00
Jason R. Coombs b9bcd86948 Include pytest-sugar for nicer test output. 2017-03-29 14:40:02 -04:00
Jason R. Coombs 049284c6c4 Include the project (for docstrings). Include Sphinx (for environments where it's not an implied provision). 2017-03-29 14:39:02 -04:00
Jason R. Coombs 59c37d70f1 Don't bother with copyright year(s). Let the repository history track the changes and copyright years. YAGNI. 2017-03-29 14:36:54 -04:00
Jason R. Coombs b728c5892b Add python_requires directive. 2017-03-12 13:33:19 -04:00
Jason R. Coombs e690b031cc Set the origin date once and forget it. 2017-02-09 12:29:49 -05:00
Jason R. Coombs ee0d8647d8 Add support for Python 2.6 in docs conf 2017-01-24 20:59:15 -05:00
Jason R. Coombs 21a4e86e6f Add PEP substitution in changelog. 2017-01-23 07:10:36 -05:00
Jason R. Coombs 9f6eea591e No longer rely on setup_requires for wheel. 2017-01-19 11:13:08 -05:00
Jason R. Coombs 746dd7999f Use Python 3.6 by default 2017-01-17 19:56:28 -05:00
Jason R. Coombs 5853c7e7e7 setup is already present in the module name. Just call them params. 2017-01-05 09:31:05 -05:00
Jason R. Coombs 84b53d9052 Default upload URL is now in Python 3.6. Use that. 2017-01-02 15:54:14 -05:00
Jason R. Coombs b1133de832 Strip the trailing newline and then split on newline. 2016-12-23 08:57:20 -05:00
Jason R. Coombs b2c592d84b Also grab the author from the package metadata 2016-12-23 08:47:03 -05:00
Jason R. Coombs fbadf0344d Also get the URL from the project metadata 2016-12-23 08:44:55 -05:00
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