Skip to content

Instantly share code, notes, and snippets.

@ixxie
Created June 30, 2020 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ixxie/a002a0a23c8f8d6a406d36e2ae74b7d1 to your computer and use it in GitHub Desktop.
Save ixxie/a002a0a23c8f8d6a406d36e2ae74b7d1 to your computer and use it in GitHub Desktop.
nixops-digitalocean 2.0
[tool.poetry]
name = "nixops-digitalocean"
version = "2.0"
description = "NixOps plugin for Digital Ocean"
authors = ["Robert Djubek <contact@mostlyabsurd.com>"]
license = "LGPL-3.0-only"
include = [ "nixops-digitalocean/nix/*.nix" ]
[tool.poetry.dependencies]
python = "^3.7"
nixops = {git = "https://github.com/NixOS/nixops.git", rev = "master"}
[tool.poetry.dev-dependencies]
mypy = "^0.770"
black = "^19.10b0"
[tool.poetry.plugins."nixops"]
digitalocean = "nixops-digitalocean.plugin"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
import sys
import subprocess
from distutils.core import setup, Command
setup(name='nixops-digitalocean',
version='@version@',
description='NixOS cloud deployment tool, but for digitalocean',
url='https://github.com/NixOS/nixops-digitalocean',
# TODO: add author
author='',
author_email='',
packages=[ 'nixopsdigitalocean', 'nixopsdigitalocean.backends'],
package_data={'nixopsdigitalocean': ['data/nixos-infect']},
entry_points={'nixops': ['digitalocean = nixopsdigitalocean.plugin']},
py_modules=['plugin']
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment