forked from labbots/firestore-export-json
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (33 loc) · 1008 Bytes
/
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
#!/usr/bin/env python
import os
from setuptools import setup
packages = []
for dirpath, dirnames, filenames in os.walk('converter'):
if '__init__.py' in filenames:
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
README = None
with open(os.path.abspath('README.md')) as fh:
README = fh.read()
with open('requirements.txt') as f:
requirements = [x for x in f.read().splitlines() if not x.startswith("#")]
setup(
name="fs-to-json",
version="0.1.0",
author='Labbots',
author_email='labbots@users.noreply.github.com',
license='MIT',
packages=packages,
long_description_content_type='text/markdown',
long_description=open('README.md').read(),
python_requires='>=3.7, <4',
install_requires=requirements,
include_package_data=True,
entry_points={
'console_scripts': [
'fs_to_json=converter.command:main',
],
},
)