Skip to content

Commit 0f00d7d

Browse files
changed file structure for tap_github (singer-io#88)
1 parent c58aff2 commit 0f00d7d

24 files changed

+4
-4
lines changed

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
include LICENSE
2-
include tap_github/*.json
2+
include tap_github/schemas/*.json

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
''',
2020
packages=['tap_github'],
2121
package_data = {
22-
'tap_github': ['tap_github/*.json']
22+
'tap_github': ['tap_github/schemas/*.json']
2323
},
2424
include_package_data=True
2525
)

tap_github.py renamed to tap_github/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ def generate_pr_commit_schema(commit_schema):
140140
def load_schemas():
141141
schemas = {}
142142

143-
for filename in os.listdir(get_abs_path('tap_github')):
144-
path = get_abs_path('tap_github') + '/' + filename
143+
for filename in os.listdir(get_abs_path('schemas')):
144+
path = get_abs_path('schemas') + '/' + filename
145145
file_raw = filename.replace('.json', '')
146146
with open(path) as file:
147147
schemas[file_raw] = json.load(file)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)