Skip to content

Commit

Permalink
feat: python package
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Destructive committed Jul 10, 2022
1 parent a3366f2 commit 9444520
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 403 deletions.
1 change: 1 addition & 0 deletions crossposter/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from app import *
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
certifi==2022.5.18.1
charset-normalizer==2.0.12
idna==3.3
python-frontmatter==1.0.0
PyYAML==5.1
requests==2.27.1
urllib3==1.26.9
33 changes: 33 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import pathlib
from setuptools import setup, find_packages

HERE = pathlib.Path(__file__).parent

VERSION = "0.0.1"
PACKAGE_NAME = "crossposter"
AUTHOR = "Meet Gor"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/Mr-Destructive/crossposter"

DESCRIPTION = "Crosspost your markdown articles to devto, medium, codenewbie and hashnode"
README = (pathlib.Path(__file__).parent / "README.md").read_text(encoding="utf-8")

INSTALL_REQUIRES = ["requests", "python-frontmatter",]

setup(
name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=README,
long_description_content_type="text/markdown",
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
install_requires=INSTALL_REQUIRES,
packages=find_packages(),
entry_points={
"console_scripts": [
"crosspost = crossposter.app:main"
]
},
)
403 changes: 0 additions & 403 deletions src/m.md

This file was deleted.

0 comments on commit 9444520

Please sign in to comment.