<commit_before># -*- coding: utf-8 -*-
import sys

#from distutils.core import setup
from setuptools import setup

      long_description='''\
Overview
========

This package can be used to record data from a Tektronix scope. 


Installation
============

You need first to install the pyvisa package. 
To install PyTektronixScope, download the package and run the command:: 

  python setup.py install

You can also directly move the PyTektronixScope directory to a location
that Python can import from (directory in which scripts 
using PyDAQmx are run, etc.)

Sources can also be download on the `PyTektronixScope github repository`. 

Usage
=====

  from PyTektronixScope import PyTektronixScope
  from PyTektronixScope.VisaList import from PyTektronixScope

  # List all the available Visa instrument
  print VisaObjectList()

  scope = TektronixScope(instrument_resource_name)
  X,Y = scope.read_data_one_channel('CH2', t0 = 0, DeltaT = 1E-6, x_axis_out=True)

Contact
=======

Please send bug reports or feedback to `<NAME>`_.

Version history
===============
Main changes:

* 0.1 Initial relase


.. _P<NAME>: mailto:<EMAIL>
.. _PyTektronixScope github repository: https://github.com/clade/PyTektronixScope
'''


# There is a problem with writing unicode to a file on version of python <2.6
# So I remove the accent of the author name in this case
# TODO: find an automatic way of removing accent if version<2.6
if sys.version_info[:2]>=(2,6): # Unicode accent does not work on earlier version
    setup(name="PyDAQmx", version='1.2.1',
      author=u'<NAME>', author_email="<EMAIL>",
      maintainer=u'<NAME>',
      maintainer_email="<EMAIL>",
      license='''\
This software can be used under one of the following two licenses: \
(1) The BSD license. \
(2) Any other license, as long as it is obtained from the original \
author.''',

      description='Interface to Tektronix Scope',
      long_description = long_description,  
      keywords=['Tektronix', 'scope', 'Data Acquisition'],
      classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Intended Audience :: Education',
        'Intended Audience :: Other Audience',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python',
        'Topic :: Scientific/Engineering',
        'Topic :: Scientific/Engineering :: Physics',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: Libraries :: Python Modules'], 
     requires=['pyvisa'],
     packages=["PyTektronixScope"]

)
else: # version of python <2.6. Remove the unicode  
      setup(name="PyDAQmx", version='1.2.1',
      author='<NAME>', author_email="<EMAIL>",
      maintainer='<NAME>',
      maintainer_email="<EMAIL>",
      url='http://packages.python.org/PyDAQmx/',
      license='''\
This software can be used under one of the following two licenses: \
(1) The BSD license. \
(2) Any other license, as long as it is obtained from the original \
author.''',

      description='Interface to the National Instrument PyDAQmx driver',

      long_description = long_description,

      keywords=['Tektronix', 'scope', 'Data Acquisition'],
      classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Intended Audience :: Education',
        'Intended Audience :: Other Audience',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python',
        'Topic :: Scientific/Engineering',
        'Topic :: Scientific/Engineering :: Physics',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: Libraries :: Python Modules'], 
     requires=['pyvisa'],
     packages=["PyTektronixScope"]

)
<commit_msg>Set version 0.1 in setup.py<commit_after># -*- coding: utf-8 -*-
import sys

#from distutils.core import setup
from setuptools import setup

      long_description='''\
Overview
========

This package can be used to record data from a Tektronix scope. 


Installation
============

You need first to install the pyvisa package. 
To install PyTektronixScope, download the package and run the command:: 

  python setup.py install

You can also directly move the PyTektronixScope directory to a location
that Python can import from (directory in which scripts 
using PyDAQmx are run, etc.)

Sources can also be download on the `PyTektronixScope github repository`. 

Usage
=====

  from PyTektronixScope import PyTektronixScope
  from PyTektronixScope.VisaList import from PyTektronixScope

  # List all the available Visa instrument
  print VisaObjectList()

  scope = TektronixScope(instrument_resource_name)
  X,Y = scope.read_data_one_channel('CH2', t0 = 0, DeltaT = 1E-6, x_axis_out=True)

Contact
=======

Please send bug reports or feedback to `<NAME>`_.

Version history
===============
Main changes:

* 0.1 Initial relase


.. _<NAME>: mailto:<EMAIL>
.. _PyTektronixScope github repository: https://github.com/clade/PyTektronixScope
'''


# There is a problem with writing unicode to a file on version of python <2.6
# So I remove the accent of the author name in this case
# TODO: find an automatic way of removing accent if version<2.6
if sys.version_info[:2]>=(2,6): # Unicode accent does not work on earlier version
    setup(name="PyDAQmx", version='0.1',
      author=u'<NAME>', author_email="<EMAIL>",
      maintainer=u'<NAME>',
      maintainer_email="<EMAIL>",
      license='''\
This software can be used under one of the following two licenses: \
(1) The BSD license. \
(2) Any other license, as long as it is obtained from the original \
author.''',

      description='Interface to Tektronix Scope',
      long_description = long_description,  
      keywords=['Tektronix', 'scope', 'Data Acquisition'],
      classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Intended Audience :: Education',
        'Intended Audience :: Other Audience',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python',
        'Topic :: Scientific/Engineering',
        'Topic :: Scientific/Engineering :: Physics',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: Libraries :: Python Modules'], 
     requires=['pyvisa'],
     packages=["PyTektronixScope"]

)
else: # version of python <2.6. Remove the unicode  
      setup(name="PyDAQmx", version='0.1',
      author='<NAME>', author_email="<EMAIL>",
      maintainer='<NAME>',
      maintainer_email="<EMAIL>",
      url='http://packages.python.org/PyDAQmx/',
      license='''\
This software can be used under one of the following two licenses: \
(1) The BSD license. \
(2) Any other license, as long as it is obtained from the original \
author.''',

      description='Interface to the National Instrument PyDAQmx driver',

      long_description = long_description,

      keywords=['Tektronix', 'scope', 'Data Acquisition'],
      classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Intended Audience :: Education',
        'Intended Audience :: Other Audience',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python',
        'Topic :: Scientific/Engineering',
        'Topic :: Scientific/Engineering :: Physics',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: Libraries :: Python Modules'], 
     requires=['pyvisa'],
     packages=["PyTektronixScope"]

)

{'fraction_non_alphanumeric': 0.12256197307159934, 'fraction_numerical': 0.007298351579212281, 'mean_word_length': 3.462661426165076, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 27, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3030220', 'n_tokens_mistral': 2353, 'n_tokens_neox': 2219, 'n_words': 760}