-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (42 loc) · 1.08 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
#!/usr/bin/env python
"""
Setup script for pipe-carrier-portal
"""
import codecs
import os
import setuptools
from setuptools import find_packages
from setuptools import setup
import subprocess
from distutils.command.build import build as _build
package = __import__('pipe_carrier_portal')
DEPENDENCIES = [
"pytest",
"nose",
"ujson",
"pytz",
"udatetime",
"newlinejson",
"jinja2-cli",
"statistics",
"elasticsearch==7.8.1",
]
with codecs.open('README.md', encoding='utf-8') as f:
readme = f.read().strip()
with codecs.open('requirements.txt', encoding='utf-8') as f:
DEPENDENCY_LINKS=[line for line in f]
setup(
author=package.__author__,
author_email=package.__email__,
description=package.__doc__.strip(),
include_package_data=True,
install_requires=DEPENDENCIES,
license="Apache 2.0",
long_description=readme,
name='pipe-carrier-portal',
packages=find_packages(exclude=['test*.*', 'tests']),
url=package.__source__,
version=package.__version__,
zip_safe=True,
dependency_links=DEPENDENCY_LINKS
)