File: build

package info (click to toggle)
jplephem 2.18%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 312 kB
  • sloc: python: 2,160; sh: 51; awk: 18; makefile: 4
file content (16 lines) | stat: -rwxr-xr-x 361 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python3

import os
import setuptools
import sys

build_dir = os.path.dirname(__file__)
project_dir = os.path.dirname(build_dir)

# Note that we merely supplement argv, we don't rewrite it, so the user
# can put "upload" at the end to send the results to PyPI.

sys.argv[1:1] = ['sdist', 'bdist_wheel']
sys.path[0:0] = [project_dir]

import setup