mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Fix weird styling and resource warning in setup.py
This commit is contained in:
parent
38f5dafc1c
commit
c6b23b493d
1 changed files with 5 additions and 3 deletions
8
setup.py
8
setup.py
|
|
@ -37,9 +37,7 @@ requirements = [
|
||||||
|
|
||||||
|
|
||||||
class PrintRequirements(Command):
|
class PrintRequirements(Command):
|
||||||
|
|
||||||
description = 'Prints minimal requirements'
|
description = 'Prints minimal requirements'
|
||||||
|
|
||||||
user_options = []
|
user_options = []
|
||||||
|
|
||||||
def initialize_options(self):
|
def initialize_options(self):
|
||||||
|
|
@ -53,6 +51,10 @@ class PrintRequirements(Command):
|
||||||
print(requirement.replace(">", "=").replace(" ", ""))
|
print(requirement.replace(">", "=").replace(" ", ""))
|
||||||
|
|
||||||
|
|
||||||
|
with open('README.rst') as f:
|
||||||
|
long_description = f.read()
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
# General metadata
|
# General metadata
|
||||||
name='vdirsyncer',
|
name='vdirsyncer',
|
||||||
|
|
@ -61,7 +63,7 @@ setup(
|
||||||
url='https://github.com/pimutils/vdirsyncer',
|
url='https://github.com/pimutils/vdirsyncer',
|
||||||
description='Synchronize calendars and contacts',
|
description='Synchronize calendars and contacts',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
long_description=open('README.rst').read(),
|
long_description=long_description,
|
||||||
|
|
||||||
# Runtime dependencies
|
# Runtime dependencies
|
||||||
install_requires=requirements,
|
install_requires=requirements,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue