Skip to content
Snippets Groups Projects
setup.py 1.01 KiB
Newer Older
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of the PCC project
#
#
#
# Distributed under the terms of the APACHE license.
# See LICENSE.txt for more info.

import os
import sys
from setuptools import setup

setup_dir = os.path.dirname(os.path.abspath(__file__))

# make sure we use latest info from local code
sys.path.insert(0, setup_dir)

readme_filename = os.path.join(setup_dir, 'README.rst')
with open(readme_filename) as file:
    long_description = file.read()

release_filename = os.path.join(setup_dir, 'PCC', 'release.py')
exec(open(release_filename).read())

pack = ['PCC']

setup(name=name,
      version=version,
      description='',
      packages=pack,
      include_package_data=True,
      test_suite="test",
      entry_points={'console_scripts':['PCC = PCC:main']},
      author='Thomas Juerges',
      author_email='jurges at astron.nl',
      license='APACHE',
      long_description=long_description,
      url='https://git.astron.nl/lofar2.0/tango.git',
      platforms="Unix Like"
      )