/
setup.py
43 lines (39 loc) · 938 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
39
40
41
42
43
from setuptools import setup
from distutils.util import convert_path
# get __version__ before building https://stackoverflow.com/a/24517154
main_ns = {}
ver_path = convert_path('nixui/version.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
setup(
name='nixui',
version=main_ns['__version__'],
description='',
author='Andrew Lapp',
author_email='andrew@nixgui.rew.la',
url='',
packages=[
'nixui',
'nixui.options',
'nixui.graphics',
'nixui.utils',
'nixui.nix',
'scrape_github',
],
package_data={
'nixui': [
'icons/*',
'tests/sample/*'
],
'nixui.nix': [
'*.nix'
]
},
include_package_data=True,
entry_points={
'console_scripts': [
'nix-gui=nixui.main:main',
'scrape-github=scrape_github.main:main'
],
}
)