-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
43 lines (40 loc) · 1.22 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
import os
from io import open
from setuptools import setup
DIST_NAME = 'PTCAccount'
VERSION = 'v1.2.2'
AUTHOR = 'James Payne'
EMAL = '[email protected]'
GITHUB_USER = 'jepayne1138'
GITHUB_URL = 'https://github.com/{GITHUB_USER}/{DIST_NAME}'.format(**locals())
# Get the long description from the README file
setup_dir = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(setup_dir, 'README.rst'), encoding='utf-8') as readme:
long_description = readme.read()
setup(
name=DIST_NAME,
packages=['ptcaccount'],
version=VERSION,
description='Automatic creation of Pokemon Trainer Club accounts.',
author=AUTHOR,
author_email=EMAL,
url=GITHUB_URL,
license='BSD-new',
download_url='{GITHUB_URL}/tarball/{VERSION}'.format(**locals()),
keywords='',
install_requires=[
'requests[security]==2.10.0',
'six==1.10.0',
],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'License :: OSI Approved :: BSD License',
],
entry_points={
'console_scripts': [
'ptc = ptcaccount.console:entry',
],
}
)