-
Notifications
You must be signed in to change notification settings - Fork 106
/
setup.py
42 lines (38 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
39
40
41
42
from os.path import abspath, dirname
from setuptools import setup, find_packages
pwd = dirname(abspath(__file__))
with open(pwd + '/mach_nix/VERSION') as f:
version = f.read().strip()
test_deps = [
'pytest',
]
extras = {
'test': test_deps,
}
setup(
name='mach-nix',
version=version,
url='https://github.com/DavHau/mach-nix',
author='David Hauer',
author_email='[email protected]',
description='Tool to create highly reproducible python environments',
packages=find_packages(),
entry_points={
"console_scripts": [
"mach-nix = mach_nix:main"
],
},
package_data={'': ['nix/*', 'VERSION', 'provider_defaults.toml', 'flake.lock']},
setup_requires=["wheel"],
install_requires=[
'distlib == 0.3.7.dev.0',
'networkx',
'packaging >= 19.0',
'resolvelib == 0.8.1',
'toml',
'tree-format == 0.1.2',
'rich',
],
tests_require=test_deps,
extras_require=extras,
)