#!/usr/bin/python
import os
import platform
from setuptools import setup

setup(
    name='viprcommand',
    version='15.8',
    packages=['ViPRCommand',
              'ViPRCommand.bin',
              'ViPRCommand.config'],
    package_data={
        'ViPRCommand.config': ['*.ini']
    },
    install_requires=[
        'requests',
        'configparser'
    ],
    url='',
    # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[

        'Development Status :: 4 - Beta',

        # Indicate who your project is intended for
        'Intended Audience :: Information Technology',
        'Topic :: Software Development :: Libraries :: Application Frameworks',

        # Pick your license as you wish (should match "license" above)
        'License :: OSI Approved :: MIT License',

    ],
    license='MIT',
    description='ViPR Command',
)
bin_dir_path = os.path.dirname(os.path.realpath(__file__))
if platform.system() == "Windows":
    os.system("SETX PATH "+ bin_dir_path +"/ViPRCommand/bin")
else:
    os.system("echo \'export PATH="+ bin_dir_path +"/ViPRCommand/bin:$PATH\'>>~/.bashrc")
@@ -986,16 +986,17 @@
 X PATH %22
+ 
 + bin_di
@@ -1005,28 +1005,8 @@
 path
- +%22/ViPRCommand/bin%22
 )%0Ael
@@ -1044,16 +1044,17 @@
 t PATH=%22
+ 
 + bin_di
@@ -1065,25 +1065,10 @@
 th +
+ 
 %22
-/ViPRCommand/bin
 :$PA
@@ -1084,8 +1084,9 @@
 bashrc%22)
+%0A

refactor path even more