Skip to content

Renamed Project #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Dec 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
test:

runs-on: ubuntu-latest
needs: Install
needs: install
strategy:
matrix:
python-version: [3.8]
Expand All @@ -47,7 +47,7 @@ jobs:
format:

runs-on: ubuntu-latest
needs: Install
needs: install
strategy:
matrix:
python-version: [3.8]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Conan-for-Poetry
A plugin for Poetry that enables integrated Conan support.
# Synodic-Poetry
A Plugin for Poetry that enables a transparent Conan and CMake workflow.
94 changes: 0 additions & 94 deletions conan_for_poetry/cli.py

This file was deleted.

4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 4 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "conan-for-poetry"
name = "synodic-poetry"
version = "0.1.0"
description = " A Poetry plugin integrating Conan support."
description = " A Poetry plugin integrating a transparent Conan and CMake workflow."

license = "MIT"

Expand All @@ -11,15 +11,14 @@ authors = [

readme = "README.md"

repository = "https://github.com/Synodic-Software/Conan-for-Poetry"
homepage = "https://github.com/Synodic-Software/Conan-for-Poetry"
repository = "https://github.com/Synodic-Software/Synodic-Poetry"
homepage = "https://github.com/Synodic-Software/Synodic-Poetry"


[tool.poetry.dependencies]
python = "^3.8"
poetry = "^1.0"
conan = "^1.21"
click = "^7.0"
toml = "^0.10"


Expand All @@ -31,11 +30,6 @@ path = "^13.1.0"
black = {version = "^19.10b0", allow-prereleases = true}


#TODO: Remove CLI interface once poetry has plugin support
[tool.poetry.scripts]
conan-poetry = "conan_for_poetry.cli:entrypoint"


[build-system]
requires = ["poetry>=1.0.0"]
build-backend = "poetry.masonry.api"
File renamed without changes.
2 changes: 1 addition & 1 deletion conan_for_poetry/plugin.py → synodic_poetry/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from conans.client.conan_api import ConanAPIV1 as _ConanAPI


class ConanPlugin:
class SynodicPlugin:

data = None

Expand Down
10 changes: 0 additions & 10 deletions tests/integration/test_cli.py

This file was deleted.

34 changes: 17 additions & 17 deletions tests/integration/test_plugin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

from conan_for_poetry.plugin import ConanPlugin
from synodic_poetry.plugin import SynodicPlugin
from path import Path
from distutils.dir_util import copy_tree

Expand All @@ -20,64 +20,64 @@ class TestPlugin():

def test_poetry_new(self):

ConanPlugin().poetry_new()
SynodicPlugin().poetry_new()

def test_poetry_init(self):

ConanPlugin().poetry_init()
SynodicPlugin().poetry_init()

def test_poetry_install(self, test_project):

ConanPlugin().poetry_install()
SynodicPlugin().poetry_install()

def test_poetry_update(self, test_project):

ConanPlugin().poetry_update()
SynodicPlugin().poetry_update()

def test_poetry_add(self):

ConanPlugin().poetry_add()
SynodicPlugin().poetry_add()

def test_poetry_remove(self):

ConanPlugin().poetry_remove()
SynodicPlugin().poetry_remove()

def test_poetry_show(self):

ConanPlugin().poetry_show()
SynodicPlugin().poetry_show()

def test_poetry_build(self):

ConanPlugin().poetry_build()
SynodicPlugin().poetry_build()

def test_poetry_publish(self):

ConanPlugin().poetry_publish()
SynodicPlugin().poetry_publish()

def test_poetry_config(self):

ConanPlugin().poetry_config()
SynodicPlugin().poetry_config()

def test_poetry_check(self):

ConanPlugin().poetry_check()
SynodicPlugin().poetry_check()

def test_poetry_search(self):

ConanPlugin().poetry_search()
SynodicPlugin().poetry_search()

def test_poetry_lock(self):

ConanPlugin().poetry_lock()
SynodicPlugin().poetry_lock()

def test_poetry_version(self):

ConanPlugin().poetry_version()
SynodicPlugin().poetry_version()

def test_poetry_export(self):

ConanPlugin().poetry_export()
SynodicPlugin().poetry_export()

def test_poetry_env(self):

ConanPlugin().poetry_env()
SynodicPlugin().poetry_env()