Skip to content
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
File renamed without changes.
2 changes: 1 addition & 1 deletion archlens.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/archlens/ArchLens/master/src/python/config.schema.json",
"$schema": "https://raw.githubusercontent.com/archlens/ArchLens/master/src/python/src/config.schema.json",
"name": "ArchLens",
"rootFolder": "src/python/src",
"github": {
Expand Down
12 changes: 7 additions & 5 deletions src/python/setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
from setuptools import setup, find_packages, glob
from setuptools import setup, find_packages
import os

# Read README for long description
here = os.path.abspath(os.path.dirname(__file__))
try:
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
with open(os.path.join(here, "../../README.md"), encoding="utf-8") as f:
readme = f.read()
with open(os.path.join(here, "CHANGELOG.md"), encoding="utf-8") as f:
with open(os.path.join(here, "../../CHANGELOG.md"), encoding="utf-8") as f:
changelog = f.read()
long_description = f"{readme}\n\n{changelog}"
except FileNotFoundError:
long_description = "See the readme at: https://github.com/archlens/ArchLens/"

setup(
name="ArchLens",
version="0.4.0",
version="0.4.1",
description="Designed for visualizing package dependencies and highlighting differences between"
" branches in GitHub pull requests. It offers customization options to tailor package views.",
author="The ArchLens Team",
Expand All @@ -23,8 +23,10 @@
packages=find_packages(),
long_description=long_description,
long_description_content_type="text/markdown",
data_files=glob.glob("src/config.**.json"),
include_package_data=True,
package_data={
"src": ["config.schema.json", "config.template.json"],
},
install_requires=[
"plantuml",
"typer",
Expand Down
2 changes: 1 addition & 1 deletion src/python/src/cli_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def read_config_file(config_path):
config = json.load(f)

config_schema = None
schema_path = os.path.join(os.path.dirname(__file__), "../config.schema.json")
schema_path = os.path.join(os.path.dirname(__file__), "config.schema.json")
with open(schema_path) as fp:
config_schema = json.load(fp)

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/archlens/ArchLens/master/src/python/config.schema.json",
"$schema": "https://raw.githubusercontent.com/archlens/ArchLens/master/src/python/src/config.schema.json",
"name": "",
"rootFolder": "",
"github": {
Expand Down
Loading