-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
64 lines (58 loc) · 2.29 KB
/
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
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
#!/usr/bin/env python
# Copyright (C) 2020 Panayiotou, Konstantinos <[email protected]>
# Author: Panayiotou, Konstantinos <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
# Utility function to read the README file.
# Used for the long_description. It's nice, because now
# 1) we have a top level README file
# 2) it's easier to type in the README file than to put a raw string in below
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
install_requires=read('requirements.txt').splitlines(),
name='ros2broker',
version='0.1.0',
description= 'ROS/ROS2 to AMQP (RabbitMQ broker) protocol connectors',
url='https://github.com/klpanagi/ros2broker',
download_url='',
author='Konstantinos Panayiotou',
author_email='[email protected]',
maintainer='Konstantinos Panayiotou',
maintainer_email='[email protected]',
license='GNU GPLv3',
test_suite='tests',
include_package_data=False,
# A list naming all the packages you want to include
packages=find_packages(),
# Package data to be added to packages
package_data={},
# Specify additional files needed by the module distribution:
# configuration files, message catalogs, data files
data_files=[],
# A script(s) to be installed into standard locations like /usr/bin
scripts=['bin/ros2broker'],
console_scripts={
'console_scripts': [
'ros2broker = ros2broker.cli:main'
]
},
zip_safe=True,
long_description=read('README.md') if os.path.exists('README.md') else ""
)