-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
35 lines (24 loc) · 855 Bytes
/
setup.py
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
#!/usr/bin/env python
import re
import sys
from setuptools import setup, find_packages
def version():
with open('poppy_buggy/_version.py') as f:
return re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", f.read()).group(1)
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(name='poppy-buggy',
version=version(),
packages=find_packages(),
install_requires=['pypot >= 3', 'hampy'],
include_package_data=True,
exclude_package_data={'': ['README', '.gitignore']},
zip_safe=False,
author='https://github.com/poppy-project/poppy-buggy/graphs/contributors',
author_email='[email protected]',
description=' Poppy Buggy Software Library',
url='https://github.com/CERN/poppy-buggy',
license='GNU GENERAL PUBLIC LICENSE Version 3',
**extra
)