forked from DavHau/mach-nix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (29 loc) · 863 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
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()
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.0',
'networkx',
'packaging >= 19.0',
'resolvelib == 0.3.0',
'toml',
'tree-format == 0.1.2',
],
)