File: setup.py

package info (click to toggle)
dh-python 3.20190308
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,184 kB
  • sloc: python: 4,171; makefile: 415; perl: 220; sh: 26
file content (13 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/python3
from distutils.core import setup, Extension

setup(name='Foo',
      version='0.1',
      description="package with Python extension",
      author='Piotr Ożarowski',
      author_email='piotr@debian.org',
      url='http://www.debian.org/',
      ext_modules=[Extension('foo/bar', ['lib/bar.c'])],
      #py_modules=['package'],
      packages=['foo'],
      package_dir={'foo': 'lib'})