-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
33 lines (31 loc) · 905 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
import codecs
import sys
import os
from setuptools import setup, find_packages
from glob import glob
def gen_data_files(dirs):
results = []
for datadir in dirs:
for p, _, files in os.walk(datadir):
results.extend((p, [os.path.join(p, f)]) for f in files)
print("Template files", results)
return results
setup(
name='bundle',
version='0.0.1',
packages=find_packages(),
url='https://github.com/mfojtak/bundle',
license='MIT',
author='mfojtak',
author_email='[email protected]',
description='bundle',
install_requires=["Jinja2", "pipreqs"],
scripts=['bundlectl'],
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
data_files=gen_data_files(["templates"]),
)