# Path: pyparticles/utils/pypart_global.py
# def py_particle_version( r='s' ):
#     global v_major
#     global v_minor
#     global v_revision
#     
#     if r == 's' :
#         return "%d.%d.%d" % ( v_major , v_minor , v_revision )
#     else :
#         return ( v_major , v_minor , v_revision )


import os
import shutil
import subprocess
import sys
import re
import sys
from distutils.core import setup
from pyparticles.utils.pypart_global import py_particle_version
from distutils.command.install import install
            output = subprocess.Popen([os.path.join(man_dir, "install.sh")],
                    stdout=subprocess.PIPE,
                    cwd=man_dir,
                    env=dict({"PREFIX": os.path.join( self.root , prefix ) }, **dict(os.environ))).communicate()[0]
            
            print( output )




setup(name = "pyparticles",
    version = "%s" % py_particle_version() ,
    description = "Particles simulation toolbox for python, with some force model and integrations methods",
    author = "Simone Riva",
    author_email = "simone.rva [at] gmail.com",
    url = "https://github.com/simon-r/PyParticles",
    packages = ['pyparticles' ,
                'pyparticles.utils' ,
                'pyparticles.ode' ,
                'pyparticles.forces' ,
                'pyparticles.animation' ,
                'pyparticles.demo' ,
                'pyparticles.pset' ,
                'pyparticles.measures' ,
                'pyparticles.main' ,
                'pyparticles.geometry' ,
                'pyparticles.ogl' ],
    scripts = ["pyparticles_app"],
    long_description = "Particles simulation toolbox in python, with some force model and integrations methods. Particles includes an OpenGL GUI and an easy to use problem comfiguration" ,
    classifiers=[

# Path: pyparticles/utils/pypart_global.py
# def py_particle_version( r='s' ):
#     global v_major
#     global v_minor
#     global v_revision
#     
#     if r == 's' :
#         return "%d.%d.%d" % ( v_major , v_minor , v_revision )
#     else :
#         return ( v_major , v_minor , v_revision )


# Path: setup.py
import os
import shutil
import subprocess
import sys
import re
import sys
from distutils.core import setup
from pyparticles.utils.pypart_global import py_particle_version
from distutils.command.install import install

            output = subprocess.Popen([os.path.join(man_dir, "install.sh")],
                    stdout=subprocess.PIPE,
                    cwd=man_dir,
                    env=dict({"PREFIX": os.path.join( self.root , prefix ) }, **dict(os.environ))).communicate()[0]
            
            print( output )




setup(name = "pyparticles",
    version = "%s" % py_particle_version() ,
    description = "Particles simulation toolbox for python, with some force model and integrations methods",
    author = "Simone Riva",
    author_email = "simone.rva [at] gmail.com",
    url = "https://github.com/simon-r/PyParticles",
    packages = ['pyparticles' ,
                'pyparticles.utils' ,
                'pyparticles.ode' ,
                'pyparticles.forces' ,
                'pyparticles.animation' ,
                'pyparticles.demo' ,
                'pyparticles.pset' ,
                'pyparticles.measures' ,
                'pyparticles.main' ,
                'pyparticles.geometry' ,
                'pyparticles.ogl' ],
    scripts = ["pyparticles_app"],
    long_description = "Particles simulation toolbox in python, with some force model and integrations methods. Particles includes an OpenGL GUI and an easy to use problem comfiguration" ,
    classifiers=[

        'Development Status :: %s Stable' % py_particle_version() ,