Skip to content

Commit

Permalink
add setuptools for 3.2 Pypi dist
Browse files Browse the repository at this point in the history
  • Loading branch information
trolldbois committed Aug 3, 2013
1 parent ca05df4 commit a4122d0
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.svn
*~
clang.egg-info/
dist/
build/
10 changes: 7 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
// Clang Python Bindings
//===----------------------------------------------------------------------===//

This directory implements Python bindings for Clang.
This is the python bindings subdir of llvm clang repository.
https://github.com/llvm-mirror/clang/tree/master/bindings/python

This is a fork. Mainly for Pypi packaging purposes.

Test:
-----
You may need to alter LD_LIBRARY_PATH so that the Clang library can be
found. The unit tests are designed to be run with 'nosetests'. For example:
--
Expand All @@ -13,5 +18,4 @@ $ env PYTHONPATH=$(echo ~/llvm/tools/clang/bindings/python/) \
tests.cindex.test_index.test_create ... ok
...

OK
--

30 changes: 30 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup

setup(name="clang",
version="3.2",
description="libclang python bindings",
long_description=open("README.txt").read(),
url="https://github.com/trolldbois/python-clang",
download_url="https://github.com/trolldbois/python-clang/releases",
license="License :: OSI Approved :: University of Illinois/NCSA Open Source License",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Compilers"
],
keywords=["llvm","clang","libclang"],
author="Loic Jaquemet", # meeeh... not.
author_email="[email protected]",
packages = ["clang"],
# use pip requirements.txt instead
# install_requires = ["libclang"],
# build_tests_requires = ["libclang"],
test_suite= "test.alltests",
)


0 comments on commit a4122d0

Please sign in to comment.