Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Sep 19, 2019. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
62 lines (47 loc) · 1.35 KB
/
Copy pathsetup.py
File metadata and controls
62 lines (47 loc) · 1.35 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env python
# -*- coding: utf-8 -*-
importimp
importos
importre
fromsetuptoolsimportsetup, find_packages
MODULE_NAME='pathwar'
defget_version():
withopen(os.path.join(
os.path.dirname(__file__), MODULE_NAME, '__init__.py')
) asinit:
forlineininit.readlines():
res=re.match(r'__version__ *= *[\'"]([0-9\.]*)[\'"]$', line)
ifres:
returnres.group(1)
defget_long_description():
readme=os.path.join(os.path.dirname(__file__), 'README.md')
returnopen(readme).read()
setup(
name=MODULE_NAME,
version=get_version(),
description='Pathwar API client',
long_description=get_long_description(),
author='Pathwar team',
author_email='team@pathwar.net',
license='MIT',
install_requires=[
'slumber >= 0.6.0',
],
packages=find_packages(),
# tests_require
# test_suite
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Operating System :: POSIX',
'Operating System :: MacOS',
'Operating System :: Unix',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
enty_points={
'console_scripts': [
]
}
)