| 1 |
# Copyright (c) 2016 Uber Technologies, Inc. |
| 2 |
# |
| 3 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
# you may not use this file except in compliance with the License. |
| 5 |
# You may obtain a copy of the License at |
| 6 |
# |
| 7 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
# |
| 9 |
# Unless required by applicable law or agreed to in writing, software |
| 10 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
# See the License for the specific language governing permissions and |
| 13 |
# limitations under the License. |
| 14 |
|
| 15 |
# !/usr/bin/env python |
| 16 |
# -*- coding: utf-8 -*- |
| 17 |
|
| 18 |
from setuptools import setup, find_packages |
| 19 |
|
| 20 |
version = '1.0.1' |
| 21 |
|
| 22 |
with open('crossdock/version.py', 'w') as fp: |
| 23 |
fp.write("__version__ = '%s'\n" % version) |
| 24 |
|
| 25 |
setup( |
| 26 |
name='crossdock', |
| 27 |
version=version, |
| 28 |
include_package_data=True, |
| 29 |
zip_safe=False, |
| 30 |
packages=find_packages(exclude=['tests', 'example', 'tests.*']), |
| 31 |
entry_points={ |
| 32 |
'console_scripts': [ |
| 33 |
'crossdock = crossdock.server.server:serve', |
| 34 |
] |
| 35 |
}, |
| 36 |
install_requires=[ |
| 37 |
# all dependencies are included in tchannel already |
| 38 |
], |
| 39 |
) |