Skip to content

Commit

Permalink
Add setup.py file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mherrmann committed Oct 12, 2015
1 parent 88ad495 commit ac4019c
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*.pyc
.DS_Store
.DS_Store
dist/
pypxlib.egg-info/
63 changes: 63 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
"""Python bindings for the pxlib library for reading and writing Paradox
databases.
See:
https://github.com/mherrmann/pypxlib
"""

from codecs import open
from os.path import abspath, dirname, join
from setuptools import setup, find_packages

here = abspath(dirname(__file__))

with open(join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()

setup(
name='pypxlib',

version='1.0',

description='Python bindings for the pxlib library for reading and writing '
'Paradox databases.',
long_description=long_description,
url='https://github.com/mherrmann/pypxlib',

author='Michael Herrmann',
author_email='[my first name]@[my last name].io',

license='GPLv2',

classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',

'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',

'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',

'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',

'Topic :: Database',
'Topic :: Software Development :: Libraries'
],

keywords='paradox database pxlib',

packages=['pypxlib', 'pypxlib.pxlib_ctypes'],
package_data={
'pypxlib.pxlib_ctypes': [
'pxlib.dll', 'libiconv2.dll', 'libpx.dylib', 'libpx.so'
]
}
)

0 comments on commit ac4019c

Please sign in to comment.