Skip to content

Commit df12a57

Browse files
authored
Renamed Project (#3)
1 parent c55e9e2 commit df12a57

File tree

9 files changed

+28
-138
lines changed

9 files changed

+28
-138
lines changed

.github/workflows/pr-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
test:
3535

3636
runs-on: ubuntu-latest
37-
needs: Install
37+
needs: install
3838
strategy:
3939
matrix:
4040
python-version: [3.8]
@@ -47,7 +47,7 @@ jobs:
4747
format:
4848

4949
runs-on: ubuntu-latest
50-
needs: Install
50+
needs: install
5151
strategy:
5252
matrix:
5353
python-version: [3.8]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Conan-for-Poetry
2-
A plugin for Poetry that enables integrated Conan support.
1+
# Synodic-Poetry
2+
A Plugin for Poetry that enables a transparent Conan and CMake workflow.

conan_for_poetry/cli.py

Lines changed: 0 additions & 94 deletions
This file was deleted.

poetry.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.poetry]
2-
name = "conan-for-poetry"
2+
name = "synodic-poetry"
33
version = "0.1.0"
4-
description = " A Poetry plugin integrating Conan support."
4+
description = " A Poetry plugin integrating a transparent Conan and CMake workflow."
55

66
license = "MIT"
77

@@ -11,15 +11,14 @@ authors = [
1111

1212
readme = "README.md"
1313

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

1717

1818
[tool.poetry.dependencies]
1919
python = "^3.8"
2020
poetry = "^1.0"
2121
conan = "^1.21"
22-
click = "^7.0"
2322
toml = "^0.10"
2423

2524

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

3332

34-
#TODO: Remove CLI interface once poetry has plugin support
35-
[tool.poetry.scripts]
36-
conan-poetry = "conan_for_poetry.cli:entrypoint"
37-
38-
3933
[build-system]
4034
requires = ["poetry>=1.0.0"]
4135
build-backend = "poetry.masonry.api"
File renamed without changes.

conan_for_poetry/plugin.py renamed to synodic_poetry/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from conans.client.conan_api import ConanAPIV1 as _ConanAPI
55

66

7-
class ConanPlugin:
7+
class SynodicPlugin:
88

99
data = None
1010

tests/integration/test_cli.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/integration/test_plugin.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22

3-
from conan_for_poetry.plugin import ConanPlugin
3+
from synodic_poetry.plugin import SynodicPlugin
44
from path import Path
55
from distutils.dir_util import copy_tree
66

@@ -20,64 +20,64 @@ class TestPlugin():
2020

2121
def test_poetry_new(self):
2222

23-
ConanPlugin().poetry_new()
23+
SynodicPlugin().poetry_new()
2424

2525
def test_poetry_init(self):
2626

27-
ConanPlugin().poetry_init()
27+
SynodicPlugin().poetry_init()
2828

2929
def test_poetry_install(self, test_project):
3030

31-
ConanPlugin().poetry_install()
31+
SynodicPlugin().poetry_install()
3232

3333
def test_poetry_update(self, test_project):
3434

35-
ConanPlugin().poetry_update()
35+
SynodicPlugin().poetry_update()
3636

3737
def test_poetry_add(self):
3838

39-
ConanPlugin().poetry_add()
39+
SynodicPlugin().poetry_add()
4040

4141
def test_poetry_remove(self):
4242

43-
ConanPlugin().poetry_remove()
43+
SynodicPlugin().poetry_remove()
4444

4545
def test_poetry_show(self):
4646

47-
ConanPlugin().poetry_show()
47+
SynodicPlugin().poetry_show()
4848

4949
def test_poetry_build(self):
5050

51-
ConanPlugin().poetry_build()
51+
SynodicPlugin().poetry_build()
5252

5353
def test_poetry_publish(self):
5454

55-
ConanPlugin().poetry_publish()
55+
SynodicPlugin().poetry_publish()
5656

5757
def test_poetry_config(self):
5858

59-
ConanPlugin().poetry_config()
59+
SynodicPlugin().poetry_config()
6060

6161
def test_poetry_check(self):
6262

63-
ConanPlugin().poetry_check()
63+
SynodicPlugin().poetry_check()
6464

6565
def test_poetry_search(self):
6666

67-
ConanPlugin().poetry_search()
67+
SynodicPlugin().poetry_search()
6868

6969
def test_poetry_lock(self):
7070

71-
ConanPlugin().poetry_lock()
71+
SynodicPlugin().poetry_lock()
7272

7373
def test_poetry_version(self):
7474

75-
ConanPlugin().poetry_version()
75+
SynodicPlugin().poetry_version()
7676

7777
def test_poetry_export(self):
7878

79-
ConanPlugin().poetry_export()
79+
SynodicPlugin().poetry_export()
8080

8181
def test_poetry_env(self):
8282

83-
ConanPlugin().poetry_env()
83+
SynodicPlugin().poetry_env()

0 commit comments

Comments
 (0)