Skip to content

Commit

Permalink
fix setuptools; add notes; fix readme;
Browse files Browse the repository at this point in the history
  • Loading branch information
ikvk committed Jan 24, 2019
1 parent 81d6275 commit a1aa663
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ MANIFEST
/samples/
/tests/credentials.ini
/examples/test.py
/examples/notes.txt
/.python-version
/.idea/
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ However, these libraries contain various shortcomings, such as:

Thanks to
---------
`shilkazx <https://github.com/shilkazx>`_
`somepad <https://github.com/somepad>`_
| `shilkazx <https://github.com/shilkazx>`_
| `somepad <https://github.com/somepad>`_
12 changes: 12 additions & 0 deletions examples/packaging notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
https://packaging.python.org/tutorials/packaging-projects/
C:\Users\v.kaukin\.pypirc

1. Install/update:
setuptools, wheel, pip, twine

2. Generating distribution archives
cd C:\kvk\develop\Python\imap_tools\
C:\python\venv\imap_tools\Scripts\python.exe C:\kvk\develop\Python\imap_tools\setup.py sdist bdist_wheel

3. Uploading the distribution archives:
C:\python\venv\imap_tools\Scripts\python.exe -m twine upload dist/*
17 changes: 13 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
from distutils.core import setup
import setuptools

setup(
with open("README.rst", "r") as fh:
long_description = fh.read()

setuptools.setup(
name='imap_tools',
version='0.5',
packages=['imap_tools'],
packages=setuptools.find_packages(),
url='https://github.com/ikvk/imap_tools',
license='MIT',
long_description=open("README.rst").read(),
long_description=long_description,
long_description_content_type="text/x-rst",
author='v.kaukin',
author_email='[email protected]',
description='Effective working with email messages using IMAP protocol.',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=['typing>=3.6.2'],
)

0 comments on commit a1aa663

Please sign in to comment.