File: Makefile

package info (click to toggle)
cypari2 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 964 kB
  • sloc: python: 1,048; ansic: 79; makefile: 37
file content (23 lines) | stat: -rw-r--r-- 435 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Optional Makefile for easier development

VERSION = $(shell cat VERSION)

PYTHON = python
PIP = $(PYTHON) -m pip -v


install:
	$(PIP) install --upgrade .

check:
	ulimit -s 8192; $(PYTHON) -u tests/rundoctest.py
	ulimit -s 8192; $(PYTHON) tests/test_integers.py
	ulimit -s 8192; $(PYTHON) tests/test_backward.py

dist:
	chmod go+rX-w -R .
	$(PIP) install build
	umask 0022 && $(PYTHON) -m build --sdist


.PHONY: install check dist