File: setup.py

package info (click to toggle)
pyrex 0.9.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,140 kB
  • ctags: 2,220
  • sloc: python: 10,912; ansic: 3,111; makefile: 103; lisp: 12
file content (31 lines) | stat: -rw-r--r-- 691 bytes parent folder | download | duplicates (2)
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
from distutils.core import setup
from distutils.sysconfig import get_python_lib
import os
from Pyrex.Compiler.Version import version

compiler_dir = os.path.join(get_python_lib(prefix=''), 'Pyrex/Compiler')

if os.name == "posix":
    scripts = ["bin/pyrexc"]
else:
    scripts = ["pyrexc.py"]

setup(
  name = 'Pyrex', 
  version = version,
  url = 'http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/',
  author = 'Greg Ewing',
  author_email = 'greg@cosc.canterbury.ac.nz',
  scripts = scripts,
  packages=[
    'Pyrex',
    'Pyrex.Compiler',
    'Pyrex.Distutils',
    'Pyrex.Mac',
    'Pyrex.Plex'
    ],
  data_files=[
    (compiler_dir, ['Pyrex/Compiler/Lexicon.pickle'])
    ]
  )