mach-nix/setup.py

42 lines
986 B
Python
Raw Permalink Normal View History

2020-04-22 09:28:58 +00:00
from os.path import abspath, dirname
from setuptools import setup, find_packages
pwd = dirname(abspath(__file__))
with open(pwd + '/mach_nix/VERSION') as f:
2020-04-22 09:28:58 +00:00
version = f.read().strip()
test_deps = [
'pytest',
]
extras = {
'test': test_deps,
}
2020-04-22 09:28:58 +00:00
setup(
name='mach-nix',
version=version,
url='https://github.com/DavHau/mach-nix',
author='David Hauer',
author_email='hsngrmpf@gmail.com',
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']},
2020-08-22 05:48:33 +00:00
setup_requires=["wheel"],
2020-04-22 09:28:58 +00:00
install_requires=[
'distlib == 0.3.3',
2020-10-20 06:33:30 +00:00
'networkx',
2020-04-22 09:28:58 +00:00
'packaging >= 19.0',
2022-02-09 20:09:18 +00:00
'resolvelib == 0.8.1',
2020-08-22 05:45:21 +00:00
'toml',
'tree-format == 0.1.2',
2020-04-22 09:28:58 +00:00
],
tests_require=test_deps,
extras_require=extras,
2020-08-22 05:45:21 +00:00
)