Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of the Foo 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, 'Foo', 'release.py')
exec(open(release_filename).read())
pack = ['Foo']
setup(name=name,
version=version,
description='',
packages=pack,
include_package_data=True,
test_suite="test",
entry_points={'console_scripts':['Foo = Foo:main']},
author='jurges',
author_email='jurges at astron.nl',
license='APACHE',
long_description=long_description,
url='www.tango-controls.org',
platforms="All Platforms"
)