Commit Graph

59 Commits

Author SHA1 Message Date
Eric Soroos
dae30d8601 Removed co target -- Artifact of previous code review process 2020-12-30 11:26:32 +01:00
Eric Soroos
e126001e62 Help as default goal 2020-12-30 11:25:34 +01:00
Andrew Murray
6d5b550fa6
Merge pull request #4983 from hugovk/update-releasing
Releasing: Replace viewdoc with markdown2 and twine check
2020-12-22 07:41:59 +11:00
Hugo van Kemenade
d093b7141f Update Makefile docs command for Python 3 2020-12-17 10:28:06 +02:00
Hugo van Kemenade
036d90cc48
Merge branch 'master' into update-releasing 2020-12-01 11:06:32 +02:00
Andrew Murray
0045cca027 Clean up dist in release-test 2020-10-19 07:22:24 +11:00
Hugo van Kemenade
42e23ff4d1 Replace viewdoc with markdown2 and twine check 2020-10-15 14:39:49 +03:00
nulano
934c44b3c3 -Werror=implicit-function-declaration 2020-10-12 02:41:58 +01:00
Andrew Murray
a23ec9cfb7 Split phony targets 2020-08-01 19:21:28 +10:00
Andrew Murray
96a125911a Updated phony targets 2020-08-01 11:09:55 +10:00
Hugo van Kemenade
446a836f1c Remove outdated make upload-test and upload commands, we use twine now 2020-07-29 19:24:50 +03:00
Hugo
54f1ed6710 Ensure Python 3's pip to install requirements 2020-04-07 07:31:15 +10:00
Jon Dufresne
e1ccc296f2 Remove deprecated pytest-runner support
The pytest-runner package is deprecated and its use is discouraged. See:

https://github.com/pytest-dev/pytest-runner/

> pytest-runner depends on deprecated features of setuptools and relies
> on features that break security mechanisms in pip. For example
> 'setup_requires' and 'tests_require' bypass pip --require-hashes. See
> also https://github.com/pypa/setuptools/issues/1684.
>
> It is recommended that you:
>
> - Remove 'pytest-runner' from your 'setup_requires', preferably
>   removing the setup_requires option.
> - Remove 'pytest' and any other testing requirements from
>   'tests_require', preferably removing the setup_requires option.
> - Select a tool to bootstrap and then run tests such as tox

Running tests should go through the tox entrypoint.
2020-01-27 08:23:34 -08:00
Hugo
af770a6c55 Drop support for EOL Python 2.7 2019-10-07 14:30:59 +03:00
Jon Dufresne
01c06ad6c6 Update Python 2 doc URLs to Python 3
Python 3 docs are more actively maintained and are the future.
2018-06-09 21:04:34 -07:00
Andrew Murray
1c60473488 Updated paths for src directory 2017-12-31 07:11:26 +11:00
wiredfool
3dc01995ca Need to run install or develop for coverage 2017-12-28 14:51:55 +00:00
Hugo
b55ea4014e Calls pytest directly 2017-12-28 14:48:19 +00:00
hugovk
a3286391c3 'Make test' calls 'pytest -qq' directly 2017-12-28 14:48:19 +00:00
Hugo
3515ae3d9e Test with coverage on Windows, update 'setup.py test' 2017-12-28 14:48:19 +00:00
Hugo
db760c1284 Use pytest instead of nose 2017-12-28 14:48:19 +00:00
Hugo
d44727a2ac Add option to make and install with C coverage 2017-10-02 14:56:05 +03:00
wiredfool
468e1a5a65 Pypi doesn't accept multiple source archives anymore 2017-05-10 03:36:22 -07:00
wiredfool
980785952f Makefile entries for debug symbols, clean build, and highlight errors 2016-12-19 14:15:06 -08:00
Andrew Murray
b56cb2bae3 Fixed typo 2016-09-24 11:49:32 +10:00
Andrew Murray
80aa54df4f Fixed typo 2016-07-01 21:53:44 +10:00
Andrew Murray
b69596a13d Fixed typos [ci skip] 2016-07-01 21:49:44 +10:00
Andrew Murray
5e5bda95e0 Removed trailing whitespace 2016-06-30 20:12:50 +01:00
wiredfool
c5a801b836 Allow linkcheck to fail 2016-04-19 07:29:33 -07:00
wiredfool
af57c0cfda refactor doccheck from travis -> makefile 2016-04-09 20:28:43 +01:00
Alex Clark
86561f61c6 Dont call release-test from install-venv [ci skip]
release-test will use python from PATH not venv
2016-03-24 08:14:06 -04:00
Alex Clark
557801977e Use venv & run release-test [ci skip]
- Call python with relative path (bin/python) to use venv python.
- Possibly positioning `install-venv` to be the default target.
- No need to factor out venv target.
2016-03-24 08:06:55 -04:00
Alex Clark
5bb7ac3662 Add makefile target co for code review
- `make co` to checkout all branches for code review
2016-03-24 07:51:45 -04:00
Alex Clark
74493e1616 Add install-venv makefile target [ci skip]
- Creates a venv, runs pip install
2016-03-24 07:44:42 -04:00
Alex Clark
5b8d75f812 README fixes
- Add Makefile target ``make readme`` to run ``viewdoc``
- Reorg "More Info" sections
  - Docs to the top
  - Less doc links (folks can find more than installation & guides from documentation link)
  - Add link to PRs
  - Reorg link to pre-fork changes
2015-09-29 06:35:07 -04:00
Alex Clark
7a3268d4ae Set default makefile target
"make" runs release test
2015-06-28 14:57:51 -04:00
Alex Clark
9a333c8996 Clean up 2015-06-07 10:29:52 -04:00
Alex Clark
e69d028b6e Clean up Makefile [ci skip] 2015-06-07 10:28:40 -04:00
Alex Clark
70b2be6bd5 Clean up Makefile [ci skip]
- Remove nose-cov comment: we know from requirements.txt that nose-cov is required.
- Phony targets comment: who cares? We'll just keep listing them all for now. URL still helpful.
- Coverage report comment: I don't get it. Reformat and add "XXX" to draw attention from someone who does.
2015-06-07 10:22:15 -04:00
Alex Clark
5f4e407927 Clean up Makefile [ci skip]
- Rename targets docs, docserver -> doc, docserve; shorten
- Rename help and phony targets
2015-06-07 10:18:31 -04:00
Alex Clark
7dafa9a97e Clean up Makefile [ci skip]
- Alpha sort targets and help targets
- Add welcome message
2015-06-07 10:08:38 -04:00
Alex Clark
e3d5306bde Clean up Makefile [ci skip]
- Alpha sort and add missing targets (though we may only need ones that are known to cause target execution issues)
2015-06-07 10:03:31 -04:00
Alex Clark
99b4da48dc Clean up Makefile [ci skip]
- Rename ``pre`` -> ``release-test``
- Remove virtualenv creation and call ``install-req`` from ``release-test``
2015-06-07 09:59:46 -04:00
Alex Clark
91d5da745f Clean up Makefile [ci skip]
- Rename sdistup, sdisttest -> upload, upload-test to better reflect what target does; keep target name short; add targets to help
2015-06-07 09:54:02 -04:00
Alex Clark
0706f6b504 Clean up Makefile [ci skip]
- Rename test-dep -> install-req to better describe what target does; keep target name short.
2015-06-07 09:50:01 -04:00
Alex Clark
19432c3e53 Clean up Makefile [ci skip]
- Clean up test.pythonpackages.com setup description
2015-06-07 09:45:26 -04:00
Alex Clark
d31c6c7847 Clean up Makefile and requirements.txt [ci skip]
- Remove relative calls to pip, python (assume virtualenv activated or otherwise "safe" global env)
- Full define development and documentation requirements in requirements.txt

``make test-dep`` installs documentation dependencies too, hopefully that's not too annoying.

This means development process for documentation and code can begin with:

    virtualenv .
    source bin/activate
    pip install -r requirements.txt
2015-06-07 09:38:09 -04:00
Alex Clark
b4503f6cd4 Make sure we upload a tar.gz too, Part 2 [ci skip]
Do a better job:
- Add gztar to --format instead of calling setup.py twice
- Create same sdists across all targets not just upload
2015-06-06 20:27:09 -04:00
Alex Clark
5c233d12c6 Make sure we upload a tar.gz too 2015-04-02 15:17:47 -04:00
Alex Clark
d58e6f873c Add sdist helpers to makefile [ci skip]
Document in RELEASING
2015-04-01 06:16:36 -04:00