setup.py 1.55 KB
Newer Older
Luke Campagnola's avatar
Luke Campagnola committed
1
from distutils.core import setup
2
3
4
5
6
7
import os

## generate list of all sub-packages
subdirs = [['pyqtgraph'] + i[0].split(os.path.sep)[1:] for i in os.walk('.') if '__init__.py' in i[2]]
subdirs = filter(lambda p: len(p) == 1 or p[1] != 'build', subdirs)
all_packages = ['.'.join(p) for p in subdirs]
Luke Campagnola's avatar
Luke Campagnola committed
8
9
10
11

setup(name='pyqtgraph',
    version='',
    description='Scientific Graphics and GUI Library for Python',
12
13
14
15
16
    long_description="""\
PyQtGraph is a pure-python graphics and GUI library built on PyQt4/PySide and numpy. 

It is intended for use in mathematics / scientific / engineering applications. Despite being written entirely in python, the library is very fast due to its heavy leverage of numpy for number crunching and Qt's GraphicsView framework for fast display.
""",
Luke Campagnola's avatar
Luke Campagnola committed
17
    license='MIT',
Luke Campagnola's avatar
Luke Campagnola committed
18
    url='http://www.pyqtgraph.org',
Luke Campagnola's avatar
Luke Campagnola committed
19
20
    author='Luke Campagnola',
    author_email='luke.campagnola@gmail.com',
21
    packages=all_packages,
Luke Campagnola's avatar
Luke Campagnola committed
22
23
    package_dir = {'pyqtgraph': '.'},
    package_data={'pyqtgraph': ['graphicsItems/PlotItem/*.png']},
24
25
26
27
28
29
30
31
32
33
34
35
    classifiers = [
        "Programming Language :: Python",
        "Programming Language :: Python :: 3",
        "Development Status :: 4 - Beta",
        "Environment :: Other Environment",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: Scientific/Engineering :: Visualization",
        "Topic :: Software Development :: User Interfaces",
        ],
Luke Campagnola's avatar
Luke Campagnola committed
36
37
)