1
0
mirror of https://github.com/b4tman/sync_ics2gcal synced 2025-01-22 07:39:00 +00:00

add files for setup

This commit is contained in:
Dmitry Belyaev 2020-02-19 12:37:49 +03:00
parent fcba8f07ef
commit f975ddce67
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3
5 changed files with 54 additions and 0 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@ service-account.json
*.pyc *.pyc
my-test*.ics my-test*.ics
.vscode/* .vscode/*
/dist/
/*.egg-info/

7
MANIFEST.in Normal file
View File

@ -0,0 +1,7 @@
include pyproject.toml
# Include the README
include *.md
# Include the license file
include LICENSE

3
pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=40.8.0", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"

6
setup.cfg Normal file
View File

@ -0,0 +1,6 @@
[metadata]
license_files = LICENSE
[options]
setup_requires =
setuptools_scm

36
setup.py Normal file
View File

@ -0,0 +1,36 @@
import setuptools
with open('README.md', 'r') as fh:
long_description = fh.read()
setuptools.setup(
name='sync-ics2gcal',
author='Dmitry Belyaev',
author_email='b4tm4n@mail.ru',
license='MIT',
description='Sync ics file with Google calendar',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/b4tman/sync_ics2gcal',
use_scm_version=True,
setup_requires=['setuptools_scm'],
packages=setuptools.find_packages(exclude=['tests']),
classifiers=[
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
python_requires='>=3.5',
install_requires = [
'google-auth>=1.5.0',
'google-api-python-client>=1.7.0',
'icalendar>=4.0.1',
'pytz',
'PyYAML>=3.13'
],
scripts=['manage-calendars.py', 'sync-calendar.py']
)