-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add poetry * style: add a blank line * fix: add WPS232 * style: add a blank line to the end of the file * fix: remove unnecessary files * fix: now if an error occurs while running a subprocess, it will be shown * refactor: now using poetry except pip * fix: fix POETRY_HOME * fix: fix poetry version * fix: fix poetry home * try to fix CI * feat: add an exit code handling * feat: and a pip installation test style: add custom names for jobs * style: fix flake8 issue * fix: add some forgotten steps style: change the workflow name * fix: add some forgotten steps * fix: fix a small issue with artifact name * fix: update some action versions * fix: bump version to 0.3.2
- Loading branch information
Showing
11 changed files
with
1,084 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,13 @@ | ||
import os | ||
import re | ||
import stat | ||
from pathlib import Path | ||
from platform import libc_ver, machine, system | ||
from typing import List, Optional | ||
from typing import Optional | ||
from urllib.request import urlretrieve | ||
|
||
from setuptools import find_packages, setup | ||
|
||
from anderson.utils import AGG_PATH | ||
|
||
VERSION = '0.3.1' | ||
AGG_VERSION = '1.4.2' | ||
|
||
REQUIREMENTS_FILE = Path(__file__).parent / 'requirements.txt' | ||
|
||
|
||
def get_requires() -> List[str]: | ||
with open(REQUIREMENTS_FILE) as requirements_file: | ||
return [re.sub(r'(git\+.*egg=(.*))', r'\2 @ \1', line) for line in requirements_file.read().split('\n')] | ||
|
||
|
||
def get_agg_bin_name() -> Optional[str]: # noqa: WPS231 | ||
agg_bin_name = None | ||
|
@@ -61,35 +49,3 @@ def download_agg_bin() -> None: | |
|
||
|
||
download_agg_bin() | ||
|
||
|
||
setup( | ||
name='anderson', | ||
version=VERSION, | ||
author='Ilya Vlasov', | ||
author_email='[email protected]', | ||
description='A tool for automatically recording a terminal session into animated GIF files', | ||
long_description='file: README.md', | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/GirZ0n/anderson', | ||
license='Apache License 2.0', | ||
license_files='LICENSE', | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Environment :: Console', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Intended Audience :: Education', | ||
'Operating System :: POSIX :: Linux', | ||
'Operating System :: MacOS', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3 :: Only', | ||
'Programming Language :: Python :: 3.8', | ||
'Topic:: Utilities', | ||
], | ||
python_requires='>=3.8, <4', | ||
install_requires=get_requires(), | ||
include_package_data=True, | ||
package_data={'anderson': ['bin/*']}, | ||
packages=find_packages(), | ||
entry_points={'console_scripts': ['anderson=anderson.main:main']}, | ||
) |
Oops, something went wrong.