-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (37 loc) · 1.17 KB
/
setup.py
File metadata and controls
42 lines (37 loc) · 1.17 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
if sys.argv[-1] == "pypi":
os.system("python setup.py sdist bdist_wheel upload")
sys.exit()
with open("README.rst") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read()
import ViewNudger
setup(
name=ViewNudger.__title__,
version=ViewNudger.__version__,
description=ViewNudger.__description__,
long_description=readme,
author=ViewNudger.__author__,
author_email=ViewNudger.__email__,
url=ViewNudger.__url__,
license=ViewNudger.__license__,
packages=find_packages(exclude=["tests"]),
package_data={
"": ["LICENSE", "README.rst", "HISTORY.rst"],
},
include_package_data=True,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
'Programming Language :: Python :: 2',
],
)