forked from tarvitz/dsfp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (40 loc) · 1.31 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
44
45
46
47
48
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
import os
import sys
py_version = sys.version_info
version = ".".join([str(i) for i in __import__('dsfp').__VERSION__])
readme = os.path.join(os.path.dirname(__file__), 'README.rst')
CLASSIFIERS = [
'Development Status :: 1 - Alpha',
'Environment :: Darksouls Save File Parser',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
]
install_requires = [
'simplejson',
'six'
]
if isinstance(py_version, tuple):
if py_version < (2, 7):
#if py_version== 2 and py_version.minor < 7:
install_requires.append('importlib')
setup(
name='dsfp',
author='Nickolas Fox <[email protected]>',
version=version,
author_email='[email protected]',
#url='http://pypi.python.org/pypi/dsfp',
download_url='https://github.com/tarvitz/dsfp/archive/master.zip',
description='Darksouls Save File Parser for fetching data issues',
long_description=open(readme).read(),
license='MIT license',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=install_requires,
packages=find_packages(exclude=[]),
include_package_data=True,
zip_safe=False)