forked from DavHau/mach-nix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (37 loc) · 986 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
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.3',
'networkx',
'packaging >= 19.0',
'resolvelib == 0.8.1',
'toml',
'tree-format == 0.1.2',
],
tests_require=test_deps,
extras_require=extras,
)