-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
33 lines (29 loc) · 935 Bytes
/
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
from setuptools import setup, find_packages
import os
from osuapi import __version__ as version, __title__ as name, __author__ as author, __license__ as license
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
try:
import pypandoc
with open('README.md') as readme_md:
readme = pypandoc.convert_text(readme_md.read(), 'rst', 'markdown', extra_args=["--eol=lf"])
except ImportError:
print("WARNING: Did not create pypi readme")
readme = None
setup(
name=name,
version=version,
author=author,
url="https://github.com/khazhyk/osuapi",
license="MIT",
long_description=readme,
keywords="osu",
packages=find_packages(),
description="osu! api wrapper.",
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Utilities"
]
)