-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
34 lines (29 loc) · 1 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
import re
from setuptools import setup, find_packages
def get_version():
'''Get version without importing, which avoids dependency issues'''
with open('drpyspark/version.py') as version_file:
return re.search(r"""__version__\s+=\s+(['"])(?P<version>.+?)\1""",
version_file.read()).group('version')
def readme():
with open('README.md') as f:
return f.read()
install_requires = []
tests_require = []
setup_requires = []
lint_requires = []
setup(
name='drpyspark',
version=get_version(),
author='Mike Sukmanowsky',
author_email='mike.sukmanowsky@gmail.com',
url='https://github.com/msukmanowsky/drpyspark',
description=('drpyspark provides handy utilities for debugging and tuning '
'Apache Spark programs (specifically, pyspark).'),
long_description=readme(),
license='MIT License',
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
setup_requires=setup_requires,
)