-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
28 lines (25 loc) · 848 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
import os
from setuptools import setup
PACKAGE_NAME = 'xdxf2slob'
def find_package_data():
cwd = os.getcwd()
os.chdir(PACKAGE_NAME)
results = []
for name in ['css', 'js']:
for root, _dirs, files in os.walk(name):
for filename in files:
results.append(os.path.join(root, filename))
os.chdir(cwd)
return results
setup(name=PACKAGE_NAME,
version='1.0',
description='Converts XDXF (visual) dictionaries to slob',
author='Igor Tkach',
author_email='itkach@gmail.com',
url='http://github.com/itkach/xdxf2slob',
license='GPL3',
packages=[PACKAGE_NAME],
package_data={PACKAGE_NAME: find_package_data()},
install_requires=['Slob >= 1.0'],
zip_safe=False,
entry_points={'console_scripts': ['{0}={0}:main'.format(PACKAGE_NAME)]})