-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
36 lines (31 loc) · 1.15 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
#!/usr/bin/env python
from setuptools import setup
import os
import sys
if sys.version_info < (2,7):
sys.exit('Sorry, Python < 2.7 is not supported')
elif sys.version_info[0] == 3 and sys.version_info[1] < 2:
sys.exit('Sorry, Python 3.0 and 3.1 are not supported')
#https://pythonhosted.org/an_example_pypi_project/setuptools.html
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='firmtool',
version='1.4',
description='Parses, extracts, and builds 3DS firmware files',
license='BSD',
keywords='3DS firmware parse extract build',
author='TuxSH',
author_email='[email protected]',
long_description=read('README.md'),
classifiers=[
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
install_requires=['pycryptodome'],
packages=['firmtool'],
entry_points={ "console_scripts": [ "firmtool=firmtool.__main__:main" ] }
)