mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-03 17:59:19 +02:00
Minor cleanup
This commit is contained in:
parent
0fd55137f6
commit
4be39e991e
1 changed files with 3 additions and 5 deletions
|
@ -1,15 +1,16 @@
|
|||
import setuptools
|
||||
import os
|
||||
import re
|
||||
|
||||
import distutils.log
|
||||
|
||||
def main():
|
||||
long_description, version = read_meta()
|
||||
distutils.log.set_verbosity(1)
|
||||
setuptools.setup(
|
||||
name='deltachat',
|
||||
version=version,
|
||||
description='Python bindings for deltachat-core using CFFI',
|
||||
long_description = long_description,
|
||||
long_description=long_description,
|
||||
author='holger krekel, bjoern petersen and contributors',
|
||||
setup_requires=['cffi>=1.0.0'],
|
||||
install_requires=['cffi>=1.0.0', 'requests', 'attrs', 'six'],
|
||||
|
@ -28,8 +29,6 @@ def main():
|
|||
|
||||
|
||||
def read_meta():
|
||||
with open('README.rst') as fd:
|
||||
long_description = fd.read()
|
||||
with open(os.path.join("src", "deltachat", "__init__.py")) as f:
|
||||
for line in f:
|
||||
m = re.match('__version__ = "(\S*).*"', line)
|
||||
|
@ -43,4 +42,3 @@ def read_meta():
|
|||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue