-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (37 loc) · 1.26 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
from setuptools import setup, find_packages
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
long_description = open('README.md').read()
# def install_deps():
# default = open('requirements.txt', 'r').readlines()
# new_pkgs = []
# links = []
# for resource in default:
# if 'git+ssh' in resource or 'git+https' in resource:
# pkg = resource.split('#')[0].replace('git+', '')
# links.append(resource.strip())
# pkgBase = pkg.split('/')[-1].replace('.git', '')
# new_pkgs.append(pkgBase + '@ ' + pkg + '@master')
# # new_pkgs.append(pkg.replace('egg=', '').rstrip())
# else:
# new_pkgs.append(resource.strip())
# return new_pkgs, links
# pkgs, new_links = install_deps()
# print(pkgs)
setup(
name = "geferon",
version = "1.0.0",
author = "Geferon",
author_email = "[email protected]",
description = "A simple module to add extensibility to weblate",
keywords = "weblate formats",
packages=find_packages(),
install_requires=[
'pycountry',
'chardet',
'vdf @ https://github.com/geferon/vdf/tarball/master'
],
long_description=long_description,
)