GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-readability/Makefile at master · ProgrammerHuang/python-readability

Expand file tree

/

Makefile

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
62 lines (48 loc) · 1019 Bytes
/

Makefile

Copy path

File metadata and controls

62 lines (48 loc) · 1019 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Makefile to help automate tasks
WD := $(shell pwd)
PY := .venv/bin/python
PIP := .venv/bin/pip
PEP8 := .venv/bin/pep8
NOSE := .venv/bin/nosetests
TWINE := twine
# ###########
# Tests rule!
# ###########
.PHONY: test
test: venv develop $(NOSE)
$(NOSE) --with-id -s tests
$(NOSE): setup
# #######
# INSTALL
# #######
.PHONY: all
all: setup develop
venv: .venv/bin/python
setup: venv
$(PIP) install -r requirements-dev.txt
.venv/bin/python:
test -d .venv || which python3 && python3 -m venv .venv || virtualenv .venv
.PHONY: clean
clean:
rm -rf .venv
develop: .venv/lib/python*/site-packages/readability-lxml.egg-link
.venv/lib/python*/site-packages/readability-lxml.egg-link:
$(PY) setup.py develop
# ###########
# Development
# ###########
.PHONY: clean_all
clean_all: clean_venv
# ###########
# Deploy
# ###########
.PHONY: dist
dist:
$(PY) setup.py sdist bdist_wheel
$(TWINE) check dist/*
.PHONY: upload
upload:
$(TWINE) upload dist/*
.PHONY: version_update
version_update:
$(EDITOR) setup.py
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.