-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (37 loc) · 1.25 KB
/
setup.py
File metadata and controls
41 lines (37 loc) · 1.25 KB
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
#!/usr/bin/env python
import sys
from pathlib import Path
from setuptools import setup, find_packages
if not sys.version_info >= (3, 6):
raise RuntimeError('Tinsel requires at least python 3.6')
readme = Path('README.rst').read_text()
history = Path('HISTORY.rst').read_text()
requirements = []
setup_requirements = ['pytest-runner', ]
test_requirements = ['pytest', 'pyspark>=2.3']
setup(
author="Andriy Kushnir (Orhideous)",
author_email='me@orhideous.name',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
description="PySpark schema generator",
install_requires=requirements,
license="MIT license",
long_description=readme + '\n\n' + history,
include_package_data=True,
keywords=['tinsel', 'pyspark', 'spark', 'schema', 'struct'],
name='tinsel',
packages=find_packages(include=['tinsel']),
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/Orhideous/tinsel',
version='0.3.0',
zip_safe=False,
)