forked from nuuuwan/cse_lk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
46 lines (41 loc) · 1.2 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
import time
import setuptools
DIST_NAME = 'cse_lk'
with open("README.md", "r") as fh:
long_description = fh.read()
IS_PRE_RELEASE = True
MAJOR, MINOR, PATCH = 1, 0, 0
if IS_PRE_RELEASE:
ts = time.strftime('%Y%m%d%H%M%S0000', time.localtime())
version = '%d.%d.%d.%s' % (MAJOR, MINOR, PATCH, ts)
else:
version = '%d.%d.%d' % (MAJOR, MINOR, PATCH)
setuptools.setup(
name="%s-nuuuwan" % DIST_NAME,
version=version,
author="Nuwan I. Senaratna",
author_email="nuuuwan@gmail.com",
description="",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/nuuuwan/%s" % DIST_NAME,
project_urls={
"Bug Tracker": "https://github.com/nuuuwan/%s/issues" % DIST_NAME,
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
python_requires=">=3.6",
install_requires=[
'selenium',
'utils-nuuuwan',
'bs4'
'pillow',
],
test_suite='nose.collector',
tests_require=['nose'],
)