-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
61 lines (51 loc) · 1.9 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
import os
from setuptools import setup, find_packages
def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(file_path, encoding='utf-8').read()
gh_run_number = os.environ.get("BUILD_NUMBER", None)
build_number = None if gh_run_number is None or gh_run_number == "" else gh_run_number
version = '0.2.0'
with open('requirements.txt') as f:
REQUIRES = f.readlines()
with open('test-requirements.txt') as f:
TESTS_REQUIRES = f.readlines()
setup(
name='airflow-gpg-plugin',
version=f"{version}-{build_number}" if build_number else version,
author='Tilak Patidar',
author_email='[email protected]',
maintainer='Tilak Patidar',
maintainer_email='[email protected]',
license='MIT',
url='https://github.com/tilakpatidar/fibber-csv',
description='Airflow plugin to work with GPG files.',
long_description=read('README.md'),
long_description_content_type='text/markdown',
py_modules=['airflow_gpg_plugin'],
python_requires='>=3.6.7',
install_requires=REQUIRES,
tests_require=TESTS_REQUIRES,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Security :: Cryptography',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
],
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required,
entry_points={
'airflow.plugins': [
'airflow_gpg_plugin = airflow_gpg_plugin.plugin:AirflowGPGPlugin'
],
},
)