-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add(config): .gitattributes and .editorconfig
- Loading branch information
Showing
8 changed files
with
116 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
; This file is for unifying the coding style for different editors and IDEs. | ||
; More information at http://editorconfig.org | ||
|
||
; top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = LF | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[VERSION] | ||
insert_final_newline = false |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.github export-ignore |
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 |
---|---|---|
|
@@ -46,7 +46,7 @@ share/python-wheels/ | |
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
*.jpg | ||
*.png | ||
MANIFEST | ||
*.jpg | ||
*.png |
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,8 +1,8 @@ | ||
include retraktarr/VERSION | ||
include README.md | ||
include LICENSE | ||
include *.py | ||
include *.txt | ||
include MANIFEST.in | ||
exclude *.conf | ||
exclude .git* | ||
include retraktarr/VERSION | ||
include README.md | ||
include LICENSE | ||
include *.py | ||
include *.txt | ||
include MANIFEST.in | ||
exclude *.conf | ||
exclude .git* |
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 +1 @@ | ||
from .retraktarr import main | ||
from .retraktarr import main |
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,2 +1,2 @@ | ||
from .arr import ArrAPI | ||
from .trakt import TraktAPI | ||
from .arr import ArrAPI | ||
from .trakt import TraktAPI |
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,58 +1,58 @@ | ||
import os | ||
|
||
from setuptools import setup, find_packages | ||
|
||
""" | ||
setup file for package publishing | ||
""" | ||
# User-friendly description from README.md | ||
current_directory = os.path.dirname(os.path.abspath(__file__)) | ||
try: | ||
with open(os.path.join(current_directory, "README.md"), encoding="utf-8") as f: | ||
LONG_DESCRIPTION = f.read() | ||
except OSError as e: | ||
LONG_DESCRIPTION = "" | ||
|
||
try: | ||
with open( | ||
os.path.join(current_directory, f"retraktarr{os.path.sep}VERSION"), | ||
encoding="utf-8", | ||
) as f: | ||
VERSION_NO = f.read() | ||
except OSError as e: | ||
VERSION_NO = "" | ||
|
||
|
||
with open("requirements.txt") as reqs_file: | ||
requirements = reqs_file.read().splitlines() | ||
|
||
setup( | ||
# Name of the package | ||
name="retraktarr", | ||
# Start with a small number and increase it with | ||
# every change you make https://semver.org | ||
# Chose a license from here: https: // | ||
# help.github.com / articles / licensing - a - | ||
# repository. For example: MIT | ||
license="MIT", | ||
version=VERSION_NO, | ||
# Short description of your library | ||
description=("a simple Arr -> Trakt.tv list sync script"), | ||
entry_points={"console_scripts": ["retraktarr = retraktarr:main"]}, | ||
# Long description of your library | ||
install_requires=requirements, | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type="text/markdown", | ||
# long_description=long_description, | ||
# long_description_content_type="text/markdown", | ||
# Your name | ||
author="zakkarry", | ||
# Your email | ||
author_email="[email protected]", | ||
# Either the link to your github or to your website | ||
url="https://github.com/zakkarry", | ||
# Link from which the project can be downloaded | ||
download_url="https://github.com/zakkarry/retraktarr", | ||
packages=find_packages(exclude=[".github"]), | ||
package_data={"retraktarr": ["VERSION"]}, | ||
) | ||
import os | ||
|
||
from setuptools import setup, find_packages | ||
|
||
""" | ||
setup file for package publishing | ||
""" | ||
# User-friendly description from README.md | ||
current_directory = os.path.dirname(os.path.abspath(__file__)) | ||
try: | ||
with open(os.path.join(current_directory, "README.md"), encoding="utf-8") as f: | ||
LONG_DESCRIPTION = f.read() | ||
except OSError as e: | ||
LONG_DESCRIPTION = "" | ||
|
||
try: | ||
with open( | ||
os.path.join(current_directory, f"retraktarr{os.path.sep}VERSION"), | ||
encoding="utf-8", | ||
) as f: | ||
VERSION_NO = f.read() | ||
except OSError as e: | ||
VERSION_NO = "" | ||
|
||
|
||
with open("requirements.txt") as reqs_file: | ||
requirements = reqs_file.read().splitlines() | ||
|
||
setup( | ||
# Name of the package | ||
name="retraktarr", | ||
# Start with a small number and increase it with | ||
# every change you make https://semver.org | ||
# Chose a license from here: https: // | ||
# help.github.com / articles / licensing - a - | ||
# repository. For example: MIT | ||
license="MIT", | ||
version=VERSION_NO, | ||
# Short description of your library | ||
description=("a simple Arr -> Trakt.tv list sync script"), | ||
entry_points={"console_scripts": ["retraktarr = retraktarr:main"]}, | ||
# Long description of your library | ||
install_requires=requirements, | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type="text/markdown", | ||
# long_description=long_description, | ||
# long_description_content_type="text/markdown", | ||
# Your name | ||
author="zakkarry", | ||
# Your email | ||
author_email="[email protected]", | ||
# Either the link to your github or to your website | ||
url="https://github.com/zakkarry", | ||
# Link from which the project can be downloaded | ||
download_url="https://github.com/zakkarry/retraktarr", | ||
packages=find_packages(exclude=[".github"]), | ||
package_data={"retraktarr": ["VERSION"]}, | ||
) |