Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 32 lines (22 sloc) 0.572 kb
80ce47e Daniele Varrazzo Package renamed from pgxn.client to pgxnclient
authored
1 # pgxnclient Makefile
88e58cb Daniele Varrazzo Commit of the first commands
authored
2 #
3 # Copyright (C) 2011 Daniele Varrazzo
955cdd1 Daniele Varrazzo Switched to distutils to package the script
authored
4 #
88e58cb Daniele Varrazzo Commit of the first commands
authored
5 # This file is part of the PGXN client
6
9d7acdf Daniele Varrazzo Using tests_require instead of the Makefile to build the test env
authored
7 .PHONY: sdist upload docs
88e58cb Daniele Varrazzo Commit of the first commands
authored
8
9 PYTHON := python$(PYTHON_VERSION)
10 PYTHON_VERSION ?= $(shell $(PYTHON) -c 'import sys; print ("%d.%d" % sys.version_info[:2])')
660abbd Daniele Varrazzo The test suite can be run with Python 3
authored
11
12 build:
9d7acdf Daniele Varrazzo Using tests_require instead of the Makefile to build the test env
authored
13 $(PYTHON) setup.py build
14
15 check:
16 $(PYTHON) setup.py test
c958809 Daniele Varrazzo Added setup script
authored
17
18 sdist:
657099d Daniele Varrazzo Don't build the .zip sdist package anymore
authored
19 $(PYTHON) setup.py sdist --formats=gztar
c958809 Daniele Varrazzo Added setup script
authored
20
21 upload:
657099d Daniele Varrazzo Don't build the .zip sdist package anymore
authored
22 $(PYTHON) setup.py sdist --formats=gztar upload
c958809 Daniele Varrazzo Added setup script
authored
23
08ef8e3 Daniele Varrazzo Added 'docs' target to the main Makefile
authored
24 docs:
25 $(MAKE) -C docs
26
3f28f0e Daniele Varrazzo Added 'clean' target to the Makefile
authored
27 clean:
955cdd1 Daniele Varrazzo Switched to distutils to package the script
authored
28 rm -rf build pgxnclient.egg-info
9d7acdf Daniele Varrazzo Using tests_require instead of the Makefile to build the test env
authored
29 rm -rf simplejson-*.egg mock-*.egg unittest2-*.egg
3f28f0e Daniele Varrazzo Added 'clean' target to the Makefile
authored
30 $(MAKE) -C docs $@
31
Something went wrong with that request. Please try again.