-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
69 lines (61 loc) · 1.92 KB
/
setup.py
File metadata and controls
69 lines (61 loc) · 1.92 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# coding: utf8
'''
PySimpleBGC
------------
Communication tools for the Basecam SimpleBGC controller boards.
:copyright: Copyright 2015 Lionel Darras and contributors, see AUTHORS.
:license: GNU GPL v3.
'''
import re
import sys
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = ''
CHANGES = ''
try:
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
except:
pass
REQUIREMENTS = [
'pylink',
'argparse'
]
with open(os.path.join(os.path.dirname(__file__), 'pysimplebgc',
'__init__.py')) as init_py:
release = re.search("VERSION = '([^']+)'", init_py.read()).group(1)
# The short X.Y version.
version = release.rstrip('dev')
setup(
name='PySimpleBGC',
version=version,
url='https://github.com/LionelDarras/PySimpleBGC',
license='GNU GPL v3',
description='Communication tools for the Basecam SimpleBGC controller boards',
long_description=README + '\n\n' + CHANGES,
author='Lionel Darras & Franck Perret',
author_email='lionel.darras@mom.fr',
maintainer='Lionel Darras',
maintainer_email='lionel.darras@mom.fr',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.4',
'Topic :: Internet',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=find_packages(),
zip_safe=False,
install_requires=REQUIREMENTS,
entry_points={
'console_scripts': [
'pysimplebgc = pysimplebgc.__main__:main'
],
},
)