-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
34 lines (32 loc) · 1.33 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
import setuptools
import versioneer
# Get long description of package as well as user requirements
with open("README.rst", "r") as fh:
long_description = fh.read()
with open("env/pkg_requirements.txt", "r") as fh:
requirements = [line.strip() for line in fh]
# Set up the package
setuptools.setup(
name="niteshade",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Library for simulating data poisoning attacks against online learning.",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/oskarfernlund/niteshade",
project_urls={
"Documentation": "https://oskarfernlund.github.io/niteshade/",
},
author="Mart Bakler, Oskar Fernlund, Alexandra Ntemourtsidou, Jaime Sabal-Bermudez, Mustafa Saleem",
author_email="mart.bakler21@imperial.ac.uk, oskar.fernlund21@imperial.ac.uk, alexandra.ntemourtsidou15@imperial.ac.uk, js921@ic.ac.uk, mustafa.saleem21@imperial.ac.uk",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
],
packages=setuptools.find_packages(exclude=("tests",)),
include_package_data=True,
install_requires=requirements,
python_requires=">=3.8",
)