Skip to content

Commit

Permalink
Update of README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Dobosz committed Jun 21, 2023
1 parent ca45a01 commit 098fa51
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set output
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: Set up Python
uses: actions/setup-python@v3
with:
Expand All @@ -23,6 +26,8 @@ jobs:
python -m pip install --upgrade pip
pip install build
- name: Build package
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
run: python -m build
- name: Publish package
uses: pypa/[email protected]
Expand Down
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
# AI Link Embedder #
## Introduction ##
This abomination of a code was created to solve my fiancé issue with migrating Adobe Illustrator files to different machine. It comes with absolutely no guarantee, but it seems to work. Good luck.

## Requirements ##
Running this script requires:
- Windows OS (macOS is not supported for now)
- Adobe Illustrator installed
## Setup ##
To install necessary dependency you need to run:
```shell
pip install -r requirement.txt
```
## Run ##
Usage:
```
Expand All @@ -31,6 +25,6 @@ options:
-s SUFFIX, --suffix SUFFIX
```
Example:
```shell
python3 main.py -o -d C:\Users\Username\Documents\ai_embedded -r C:\Users\Username\Documents\
```
python -m ai_embedder
```
17 changes: 15 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
#!/usr/bin/env python
import os

from setuptools import find_packages, setup

with open("README.md", "r") as readme_file:
README = readme_file.read()


def _get_version():
version = os.getenv("RELEASE_VERSION", default="1.0")
if version.startswith("v"):
version = version[1:]
return version


setup(name='ai_embedder',
version='1.0',
version=_get_version(),
description='This script takes .ai files and save them with linked files embedded.',
author='mdobosz',
author_email='[email protected]',
packages=find_packages(),
long_description="This script takes .ai files and save them with linked files embedded.",
long_description_content_type="text/markdown",
long_description=README,
install_requires=[
"altgraph==0.17.3",
" pefile==2023.2.7",
Expand Down

0 comments on commit 098fa51

Please sign in to comment.