-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
executable file
·47 lines (41 loc) · 1.23 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
#!/usr/bin/env python
import os
from distutils.core import setup
PROJECT = 'couchsurfing'
VERSION = '2.0.1'
URL = 'https://github.com/nderkach/couchsurfing-python'
AUTHOR = 'Nikolay Derkach'
AUTHOR_EMAIL = '[email protected]'
DESC = "A wrapper for couchsurfing.com API"
def read_file(file_name):
file_path = os.path.join(
os.path.dirname(__file__),
file_name
)
return open(file_path).read()
setup(
name=PROJECT,
version=VERSION,
description=DESC,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
license=read_file('LICENSE'),
packages=['couchsurfing'],
test_suite="tests",
data_files = [('', ['LICENSE'])],
classifiers=[
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Operating System :: OS Independent",
"License :: Public Domain",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Internet :: WWW/HTTP",
"Environment :: Console"
],
)