-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
39 lines (32 loc) · 1.01 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
import os
from setuptools import find_packages, setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def requirements(fname):
return [line.strip()
for line in open(os.path.join(os.path.dirname(__file__), fname))]
setup(
name="tofawiki",
version="0.0.2", # Update in tofawiki/__init__.py
author="Amir Sarabadani",
description="A service to bring articles easily",
license="MIT",
url="https://github.com/Ladsgroup/tofawiki",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'tofawiki=tofawiki.tofawiki:main',
],
},
long_description=read('README.md'),
install_requires=requirements('requirements.txt'),
classifiers=[
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Topic :: Utilities",
]
)