Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py for mcurses/wcurses #1

Open
GoogleCodeExporter opened this issue May 12, 2015 · 0 comments
Open

setup.py for mcurses/wcurses #1

GoogleCodeExporter opened this issue May 12, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Used headrevs as of 2009-04-15 from svn mentioned in
http://code.google.com/p/slapstick/wiki/wcurses
What version of the product are you using? On what operating system?

Here is the start of a setup.py that will build the C extension.

########################
"""Simple (just enough to build) setup.py missing all metadata info and not
suitable for packaging (no information about Python source code)

Suggested setup.py parameters:

    * build
    * install
    * sdist
    * bdist_wininst

"""
from distutils.core import setup, Extension

#libraries=["msvcrt","kernel32"]
libraries=[]

defmacros=[
    #("IMPORT_DLL_DATA",None),
    #("_DLL", None),
    #("_MT", None),
    ]
wcurses=Extension("_wcurses_c",
    sources=[
        'wcurses/wcurses.c',
        ],
    include_dirs=[],
    define_macros=defmacros,
    libraries=libraries)



setup(
    name="wcurses",
    ext_modules = ([wcurses]),
    )

########################

Original issue reported on code.google.com by [email protected] on 16 Apr 2009 at 12:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant